summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-03 17:14:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-03 17:14:27 +0000
commitb39fea767b7398f2818bbdc8410bd0a0c51c8b68 (patch)
tree2a0f9548537bdecf5fee2ad9a38d1d60823f68c7 /nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c
parent476b5911151770db0f8087f26dad194985e27d3d (diff)
downloadpx4-nuttx-b39fea767b7398f2818bbdc8410bd0a0c51c8b68.tar.gz
px4-nuttx-b39fea767b7398f2818bbdc8410bd0a0c51c8b68.tar.bz2
px4-nuttx-b39fea767b7398f2818bbdc8410bd0a0c51c8b68.zip
Change for clean compilation of Sure PIC32MX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3742 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c')
-rw-r--r--nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c b/nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c
index b3286715d..5498e2235 100644
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-lowconsole.c
@@ -63,12 +63,12 @@
# define PIC32MX_CONSOLE_BITS CONFIG_UART1_BITS
# define PIC32MX_CONSOLE_PARITY CONFIG_UART1_PARITY
# define PIC32MX_CONSOLE_2STOP CONFIG_UART1_2STOP
-#elif defined(CONFIG_UART_SERIAL_CONSOLE)
-# define PIC32MX_CONSOLE_BASE PIC32MX_UART_K1BASE
-# define PIC32MX_CONSOLE_BAUD CONFIG_UART_BAUD
-# define PIC32MX_CONSOLE_BITS CONFIG_UART_BITS
-# define PIC32MX_CONSOLE_PARITY CONFIG_UART_PARITY
-# define PIC32MX_CONSOLE_2STOP CONFIG_UART_2STOP
+#elif defined(CONFIG_UART2_SERIAL_CONSOLE)
+# define PIC32MX_CONSOLE_BASE PIC32MX_UART2_K1BASE
+# define PIC32MX_CONSOLE_BAUD CONFIG_UART2_BAUD
+# define PIC32MX_CONSOLE_BITS CONFIG_UART2_BITS
+# define PIC32MX_CONSOLE_PARITY CONFIG_UART2_PARITY
+# define PIC32MX_CONSOLE_2STOP CONFIG_UART2_2STOP
#else
# error "No CONFIG_UARTn_SERIAL_CONSOLE Setting"
#endif