summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/str71x/str71x_lowputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/str71x/str71x_lowputc.c')
-rw-r--r--nuttx/arch/arm/src/str71x/str71x_lowputc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/str71x/str71x_lowputc.c b/nuttx/arch/arm/src/str71x/str71x_lowputc.c
index d4f22bb11..d2dbc5747 100644
--- a/nuttx/arch/arm/src/str71x/str71x_lowputc.c
+++ b/nuttx/arch/arm/src/str71x/str71x_lowputc.c
@@ -86,7 +86,7 @@
# define STR71X_UART0_GPIO0_PC2BITS (0)
#endif
-#if CONFIG_STR71X_UART0
+#if CONFIG_STR71X_UART1
# define STR71X_UART1_GPIO0_MASK (0x0c00) /* P0,10->U1.RX, P0.11->U1.TX */
# define STR71X_UART1_GPIO0_PC0BITS (0x0c00)
# define STR71X_UART1_GPIO0_PC1BITS (0x0800)
@@ -98,7 +98,7 @@
# define STR71X_UART1_GPIO0_PC2BITS (0)
#endif
-#if CONFIG_STR71X_UART0
+#if CONFIG_STR71X_UART2
# define STR71X_UART2_GPIO0_MASK (0x6000) /* P0.13->U2.RX, P0.14>U2.TX */
# define STR71X_UART2_GPIO0_PC0BITS (0x6000)
# define STR71X_UART2_GPIO0_PC1BITS (0x4000)
@@ -110,7 +110,7 @@
# define STR71X_UART2_GPIO0_PC2BITS (0)
#endif
-#if CONFIG_STR71X_UART0
+#if CONFIG_STR71X_UART3
# define STR71X_UART3_GPIO0_MASK (0x0003) /* P0.0->U3.TX, P0.1->U3.RX */
# define STR71X_UART3_GPIO0_PC0BITS (0x0003)
# define STR71X_UART3_GPIO0_PC1BITS (0x0001)