Fix LOWCONSOLE confusion

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@707 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-02-18 17:29:53 +00:00
parent 72f587fb18
commit 33917a617e
2 changed files with 2 additions and 5 deletions

View File

@ -156,9 +156,7 @@ void up_initialize(void)
#ifdef CONFIG_USE_SERIALDRIVER #ifdef CONFIG_USE_SERIALDRIVER
up_serialinit(); up_serialinit();
#endif #elif defined(CONFIG_DEV_LOWCONSOLE)
#ifdef CONFIG_USE_LOWCONSOLE
lowconsole_init(); lowconsole_init();
#endif #endif

View File

@ -66,7 +66,6 @@
/* Determine which (if any) console driver to use */ /* Determine which (if any) console driver to use */
#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE) #if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
# define CONFIG_USE_LOWCONSOLE 1
# define CONFIG_USE_LOWUARTINIT 1 # define CONFIG_USE_LOWUARTINIT 1
#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0 #elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
# define CONFIG_USE_SERIALDRIVER 1 # define CONFIG_USE_SERIALDRIVER 1
@ -124,7 +123,7 @@ EXTERN void up_serialinit(void);
# define up_serialinit() # define up_serialinit()
#endif #endif
#ifdef CONFIG_USE_LOWCONSOLE #ifdef CONFIG_DEV_LOWCONSOLE
EXTERN void lowconsole_init(void); EXTERN void lowconsole_init(void);
#else #else
# define lowconsole_init() # define lowconsole_init()