summaryrefslogtreecommitdiff
path: root/nuttx/configs/skp16c26
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-02-19 02:26:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-02-19 02:26:04 +0000
commit01f422d3de8c1d02b4183b9bbbbf91eb0d42a58f (patch)
tree85d401df1e9587373f9d3863385c87b17b637d86 /nuttx/configs/skp16c26
parent0fe675d58c8be8b7eaafc8c36cbd096c3738a761 (diff)
downloadpx4-nuttx-01f422d3de8c1d02b4183b9bbbbf91eb0d42a58f.tar.gz
px4-nuttx-01f422d3de8c1d02b4183b9bbbbf91eb0d42a58f.tar.bz2
px4-nuttx-01f422d3de8c1d02b4183b9bbbbf91eb0d42a58f.zip
Improve console configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1518 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/skp16c26')
-rw-r--r--nuttx/configs/skp16c26/ostest/defconfig4
-rw-r--r--nuttx/configs/skp16c26/src/up_lcdconsole.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/skp16c26/ostest/defconfig b/nuttx/configs/skp16c26/ostest/defconfig
index c47819136..9218c7232 100644
--- a/nuttx/configs/skp16c26/ostest/defconfig
+++ b/nuttx/configs/skp16c26/ostest/defconfig
@@ -120,6 +120,10 @@ CONFIG_UART1_2STOP=0
CONFIG_UART2_2STOP=0
#
+# Enable LCD console
+CONFIG_LCD_CONSOLE=y
+
+#
# General build options
#
# CONFIG_RRLOAD_BINARY - make the rrload binary format used with
diff --git a/nuttx/configs/skp16c26/src/up_lcdconsole.c b/nuttx/configs/skp16c26/src/up_lcdconsole.c
index 544d2ea38..e203c24d9 100644
--- a/nuttx/configs/skp16c26/src/up_lcdconsole.c
+++ b/nuttx/configs/skp16c26/src/up_lcdconsole.c
@@ -56,7 +56,7 @@
# undef HAVE_SERIALCONSOLE
#endif
-#if !defined(HAVE_SERIALCONSOLE) && defined(CONFIG_ARCH_LCD)
+#if !defined(HAVE_SERIALCONSOLE) && defined(CONFIG_ARCH_LCD) && defined(CONFIG_LCD_CONSOLE)
/************************************************************************************
* Definitions