summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/str71x/str71x_serial.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-12 13:01:01 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-12 13:01:01 +0000
commit011c4581314e5db495a6bb089e10044a5949381b (patch)
tree3027d46e02b485c0a51e43c123403ce83ff0870f /nuttx/arch/arm/src/str71x/str71x_serial.c
parent653293320a64e69454ee832e23bd2d9203580f92 (diff)
downloadpx4-nuttx-011c4581314e5db495a6bb089e10044a5949381b.tar.gz
px4-nuttx-011c4581314e5db495a6bb089e10044a5949381b.tar.bz2
px4-nuttx-011c4581314e5db495a6bb089e10044a5949381b.zip
Fix some UART initialization problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1771 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/str71x/str71x_serial.c')
-rw-r--r--nuttx/arch/arm/src/str71x/str71x_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/str71x/str71x_serial.c b/nuttx/arch/arm/src/str71x/str71x_serial.c
index 38bbd149d..9ee2d7434 100644
--- a/nuttx/arch/arm/src/str71x/str71x_serial.c
+++ b/nuttx/arch/arm/src/str71x/str71x_serial.c
@@ -154,7 +154,7 @@
# elif CONFIG_STR71X_UART3
# define TTYS1_DEV g_uart3port /* UART3 is tty1 */
# endif
-#elif defined(CONFIG_UART2_SERIAL_CONSOLE)
+#elif defined(CONFIG_UART3_SERIAL_CONSOLE)
# ifndef CONFIG_STR71X_UART3
# error "UART3 not selected, cannot be console"
# endif