HAVE_CONSOLE was not being defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1197 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
0e2b4f14fc
commit
5f905129a5
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user