Skip to content
Snippets Groups Projects
Commit 5f905129 authored by patacongo's avatar patacongo
Browse files

HAVE_CONSOLE was not being defined

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1197 42af7a65-404d-4744-a932-0658087f49c3
parent 0e2b4f14
No related branches found
No related tags found
No related merge requests found
......@@ -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) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment