Make default interupt buffer smaller

This commit is contained in:
Gregory Nutt
2016-06-19 07:03:10 -06:00
parent b594552c09
commit fedf00033c
3 changed files with 13 additions and 18 deletions
+8 -6
View File
@@ -83,13 +83,15 @@
# define CONFIG_SYSLOG_DEVPATH "/dev/ttyS1"
#endif
#if defined(CONFIG_SYSLOG_INTBUFFER) && !defined(CONFIG_SYSLOG_INTBUFSIZE)
# define CONFIG_SYSLOG_INTBUFSIZE 2048
#endif
#if CONFIG_SYSLOG_INTBUFSIZE > 65535
# undef CONFIG_SYSLOG_INTBUFSIZE
# define CONFIG_SYSLOG_INTBUFSIZE 65535
#ifdef CONFIG_SYSLOG_INTBUFFER
# ifndef CONFIG_SYSLOG_INTBUFSIZE
# define CONFIG_SYSLOG_INTBUFSIZE 512
# endif
# if CONFIG_SYSLOG_INTBUFSIZE > 65535
# undef CONFIG_SYSLOG_INTBUFSIZE
# define CONFIG_SYSLOG_INTBUFSIZE 65535
# endif
#endif
/****************************************************************************