diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-02 00:42:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-02 00:42:46 +0000 |
commit | 9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4 (patch) | |
tree | f5f5fb874369d5379c1bdd728e0789c499e7ce81 /nuttx/arch/mips/src | |
parent | 2dfc5da16f3e3abc4b36413e8205e3dcd4df7928 (diff) | |
download | px4-nuttx-9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4.tar.gz px4-nuttx-9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4.tar.bz2 px4-nuttx-9bc6eb085a6a91f0e6fbd74ad98c3b1d32df0bc4.zip |
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
Diffstat (limited to 'nuttx/arch/mips/src')
-rw-r--r-- | nuttx/arch/mips/src/common/up_initialize.c | 5 | ||||
-rw-r--r-- | nuttx/arch/mips/src/common/up_internal.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/common/up_initialize.c b/nuttx/arch/mips/src/common/up_initialize.c index fa8e5cf5d..3063b4b4b 100644 --- a/nuttx/arch/mips/src/common/up_initialize.c +++ b/nuttx/arch/mips/src/common/up_initialize.c @@ -163,11 +163,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(); diff --git a/nuttx/arch/mips/src/common/up_internal.h b/nuttx/arch/mips/src/common/up_internal.h index 62f9b8402..0eb1ed6a0 100644 --- a/nuttx/arch/mips/src/common/up_internal.h +++ b/nuttx/arch/mips/src/common/up_internal.h @@ -84,6 +84,7 @@ /* Determine which device to use as the system logging device */ #ifndef CONFIG_SYSLOG +# undef CONFIG_SYSLOG_CHAR # undef CONFIG_RAMLOG_SYSLOG #endif |