9
0
Fork 0

Fix LOWCONSOLE confusion

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@707 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2008-02-18 17:29:53 +00:00
parent 0767216b54
commit 0dc4e7e68e
4 changed files with 2 additions and 17 deletions

View File

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

View File

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

View File

@ -58,12 +58,6 @@
#include "os_internal.h"
#include "up_internal.h"
/* Defined in drivers/dev_lowconsole.c */
#ifdef CONFIG_USE_LOWCONSOLE
extern void lowconsole_init(void);
#endif
#if CONFIG_NFILE_DESCRIPTORS > 0
#if defined(CONFIG_DEV_CONSOLE) && !defined(CONFIG_DEV_LOWCONSOLE)
/****************************************************************************

View File

@ -54,12 +54,6 @@
#include "os_internal.h"
#include "up_internal.h"
/* Defined in drivers/dev_lowconsole.c */
#ifdef CONFIG_USE_LOWCONSOLE
extern void lowconsole_init(void);
#endif
#if CONFIG_NFILE_DESCRIPTORS > 0
#if defined(CONFIG_DEV_CONSOLE) && !defined(CONFIG_DEV_LOWCONSOLE)
/****************************************************************************