From 9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Aug 2012 00:42:46 +0000 Subject: Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/avr/src/common/up_initialize.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nuttx/arch/avr/src/common/up_initialize.c') diff --git a/nuttx/arch/avr/src/common/up_initialize.c b/nuttx/arch/avr/src/common/up_initialize.c index 3b86fd058..76de41c99 100644 --- a/nuttx/arch/avr/src/common/up_initialize.c +++ b/nuttx/arch/avr/src/common/up_initialize.c @@ -81,6 +81,7 @@ /* Determine which device to use as the system logging device */ #ifndef CONFIG_SYSLOG +# undef CONFIG_SYSLOG_CHAR # undef CONFIG_RAMLOG_SYSLOG #endif @@ -193,11 +194,14 @@ void up_initialize(void) /* Initialize the system logging device */ +#ifdef CONFIG_SYSLOG_CHAR + syslog_initialize(); +#endif #ifdef CONFIG_RAMLOG_SYSLOG ramlog_sysloginit(); #endif - /* Initialize the netwok */ + /* Initialize the network */ up_netinitialize(); -- cgit v1.2.3