diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-01 12:00:40 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-01 12:00:40 -0600 |
commit | cdb5a7864167327c84394786f00030f8f9a74f87 (patch) | |
tree | 564f5a2e9b1ef88f08f2b3c17de6cc4bbc6adf16 /nuttx/drivers/syslog | |
parent | 0a5eb9f4bd2e38aeef482976ce1b960430cfa29a (diff) | |
download | nuttx-cdb5a7864167327c84394786f00030f8f9a74f87.tar.gz nuttx-cdb5a7864167327c84394786f00030f8f9a74f87.tar.bz2 nuttx-cdb5a7864167327c84394786f00030f8f9a74f87.zip |
Rename CONFIG_RAMLOG_CONSOLE_BUFSIZE to just CONFIG_RAMLOG_BUFSIZE
Diffstat (limited to 'nuttx/drivers/syslog')
-rw-r--r-- | nuttx/drivers/syslog/Kconfig | 2 | ||||
-rw-r--r-- | nuttx/drivers/syslog/README.txt | 2 | ||||
-rw-r--r-- | nuttx/drivers/syslog/ramlog.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/drivers/syslog/Kconfig b/nuttx/drivers/syslog/Kconfig index 3ec8c7490..0d07bf4b2 100644 --- a/nuttx/drivers/syslog/Kconfig +++ b/nuttx/drivers/syslog/Kconfig @@ -43,7 +43,7 @@ config RAMLOG_CONSOLE console. Then in that case, console output from non-Telnet threads will go to the circular buffer and can be viewed using the NSH 'dmesg' command. -config RAMLOG_CONSOLE_BUFSIZE +config RAMLOG_BUFSIZE int "RAMLOG buffer size" default 1024 depends on RAMLOG_SYSLOG || RAMLOG_CONSOLE diff --git a/nuttx/drivers/syslog/README.txt b/nuttx/drivers/syslog/README.txt index a27b72d86..1bb5d5ea3 100644 --- a/nuttx/drivers/syslog/README.txt +++ b/nuttx/drivers/syslog/README.txt @@ -61,4 +61,4 @@ ramlog.c If CONFIG_RAMLOG_CONSOLE or CONFIG_RAMLOG_SYSLOG is selected, then the following may also be provided: - CONFIG_RAMLOG_CONSOLE_BUFSIZE - Size of the console RAM log. Default: 1024 + CONFIG_RAMLOG_BUFSIZE - Size of the console RAM log. Default: 1024 diff --git a/nuttx/drivers/syslog/ramlog.c b/nuttx/drivers/syslog/ramlog.c index 2b28b1586..e73637f2a 100644 --- a/nuttx/drivers/syslog/ramlog.c +++ b/nuttx/drivers/syslog/ramlog.c @@ -136,7 +136,7 @@ static const struct file_operations g_ramlogfops = */ #if defined(CONFIG_RAMLOG_CONSOLE) || defined(CONFIG_RAMLOG_SYSLOG) -static char g_sysbuffer[CONFIG_RAMLOG_CONSOLE_BUFSIZE]; +static char g_sysbuffer[CONFIG_RAMLOG_BUFSIZE]; /* This is the device structure for the console or syslogging function. It * must be statically initialized because the RAMLOG syslog_putc function @@ -154,7 +154,7 @@ static struct ramlog_dev_s g_sysdev = #ifndef CONFIG_RAMLOG_NONBLOCKING SEM_INITIALIZER(0), /* rl_waitsem */ #endif - CONFIG_RAMLOG_CONSOLE_BUFSIZE, /* rl_bufsize */ + CONFIG_RAMLOG_BUFSIZE, /* rl_bufsize */ g_sysbuffer /* rl_buffer */ }; #endif |