From 085539aebda5932c178545b905365c29fc8ea434 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 11 Nov 2008 19:38:09 +0000 Subject: HAVE_CONSOLE was not being defined git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1197 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/sh/src/sh1/sh1_serial.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'nuttx/arch/sh') diff --git a/nuttx/arch/sh/src/sh1/sh1_serial.c b/nuttx/arch/sh/src/sh1/sh1_serial.c index 810d8f4b6..0b639afb5 100644 --- a/nuttx/arch/sh/src/sh1/sh1_serial.c +++ b/nuttx/arch/sh/src/sh1/sh1_serial.c @@ -64,13 +64,10 @@ #if !defined(CONFIG_SH1_SCI0) && !defined(CONFIG_SH1_SCI1) # ifdef CONFIG_USE_SERIALDRIVER # error "Serial driver selected, but SCIs not enabled" +# undef CONFIG_USE_SERIALDRIVER # endif -# undef HAVE_CONSOLE -# undef CONFIG_USE_SERIALDRIVER #endif -#ifdef CONFIG_USE_SERIALDRIVER - /* Is there a serial console? */ #if defined(CONFIG_SCI0_SERIAL_CONSOLE) && defined(CONFIG_SH1_SCI0) @@ -88,6 +85,8 @@ # undef CONFIG_SCI1_SERIAL_CONSOLE #endif +#ifdef CONFIG_USE_SERIALDRIVER + /* Which SCI with be tty0/console and which tty1? */ /* CONFIG_SCI0_SERIAL_CONSOLE (implies CONFIG_SH1_SCI0 also defined) */ -- cgit v1.2.3