diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-25 12:50:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-25 12:50:42 +0000 |
commit | 4acd60377103f9e793c8eb196c0dc19299b6729b (patch) | |
tree | 9ca705666969c11e1ca53c7feae3866193a26011 /nuttx/arch/arm | |
parent | e0e7d9f9b0e4aeba2b34b4a959e240a238fb0a5f (diff) | |
download | px4-nuttx-4acd60377103f9e793c8eb196c0dc19299b6729b.tar.gz px4-nuttx-4acd60377103f9e793c8eb196c0dc19299b6729b.tar.bz2 px4-nuttx-4acd60377103f9e793c8eb196c0dc19299b6729b.zip |
Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4331 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/lpc17_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c b/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c index 3b6c5a44c..80d483742 100755 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_serial.c @@ -314,7 +314,7 @@ static uart_dev_t g_uart3port = # elif defined(CONFIG_UART1_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart1port /* UART1=console */ # define TTYS0_DEV g_uart1port /* UART1=ttyS0 */ -# ifdef CONFIG_LPC17_UART +# ifdef CONFIG_LPC17_UART0 # define TTYS1_DEV g_uart0port /* UART1=ttyS0;UART0=ttyS1 */ # ifdef CONFIG_LPC17_UART2 # define TTYS2_DEV g_uart2port /* UART1=ttyS0;UART0=ttyS1;UART2=ttyS2 */ @@ -353,7 +353,7 @@ static uart_dev_t g_uart3port = # elif defined(CONFIG_UART2_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart2port /* UART2=console */ # define TTYS0_DEV g_uart2port /* UART2=ttyS0 */ -# ifdef CONFIG_LPC17_UART +# ifdef CONFIG_LPC17_UART2 # define TTYS1_DEV g_uart0port /* UART2=ttyS0;UART0=ttyS1 */ # ifdef CONFIG_LPC17_UART1 # define TTYS2_DEV g_uart1port /* UART2=ttyS0;UART0=ttyS1;UART1=ttyS2 */ @@ -392,7 +392,7 @@ static uart_dev_t g_uart3port = # elif defined(CONFIG_UART3_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart3port /* UART3=console */ # define TTYS0_DEV g_uart3port /* UART3=ttyS0 */ -# ifdef CONFIG_LPC17_UART +# ifdef CONFIG_LPC17_UART0 # define TTYS1_DEV g_uart0port /* UART3=ttyS0;UART0=ttyS1 */ # ifdef CONFIG_LPC17_UART1 # define TTYS2_DEV g_uart1port /* UART3=ttyS0;UART0=ttyS1;UART1=ttyS2 */ |