summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-08 06:58:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-08 06:58:23 -0600
commitee85df507430d32de087f8948605e39eca437e32 (patch)
tree555cfc0fa71ec091e9b93fe824017cdff0d2267a
parentbaf972771e52416fbcddc05da8630bd65f530414 (diff)
downloadpx4-nuttx-ee85df507430d32de087f8948605e39eca437e32.tar.gz
px4-nuttx-ee85df507430d32de087f8948605e39eca437e32.tar.bz2
px4-nuttx-ee85df507430d32de087f8948605e39eca437e32.zip
Update ChangeLog
-rwxr-xr-xnuttx/ChangeLog6
-rw-r--r--nuttx/include/nuttx/syslog/syslog_console.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 5a9c1e362..f7e99fbe7 100755
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -9679,3 +9679,9 @@
* arch/arm/src/stm32/stm32_spi.c: The source clock for SPI 4,5, and 6
should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David
Sidrane (2015-02-07).
+ * drivers/syslog/syslog_console.c, include/nuttx/syslog/syslog_console.h,
+ and the console device initialization logic for all architectures: Add
+ an option to use the syslog'ing device as the system consolution. This
+ option enables a low-level, write-only console device at /dev/console
+ (similar to the low-level UART console device). From Pierre-noel
+ Bouteville (2015-02-08).
diff --git a/nuttx/include/nuttx/syslog/syslog_console.h b/nuttx/include/nuttx/syslog/syslog_console.h
index dc2ccab1b..14d13f50e 100644
--- a/nuttx/include/nuttx/syslog/syslog_console.h
+++ b/nuttx/include/nuttx/syslog/syslog_console.h
@@ -55,7 +55,6 @@
* is useful, for example, if the only console is a Telnet console. Then
* in that case, console output from non-Telnet threads will go to the
* syslog_putc output.
- *
*/
#ifndef CONFIG_DEV_CONSOLE
@@ -70,7 +69,8 @@
#ifdef __cplusplus
#define EXTERN extern "C"
-extern "C" {
+extern "C"
+{
#else
#define EXTERN extern
#endif
@@ -89,7 +89,7 @@ extern "C" {
****************************************************************************/
#ifdef CONFIG_SYSLOG_CONSOLE
-EXTERN int syslog_console_init(void);
+int syslog_console_init(void);
#endif
#undef EXTERN