From c44c30784cbb36dce0cd97c89adcab5c6721e4bf Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 16 Jan 2019 17:33:23 -0600 Subject: [PATCH] arch/arm/src/imxrt/imxrt_serial.c: Fix TTYS0 defined definitions of higher numbered ports --- arch/arm/src/imxrt/imxrt_serial.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/imxrt/imxrt_serial.c b/arch/arm/src/imxrt/imxrt_serial.c index 7053f400eeb..45ada1e9057 100644 --- a/arch/arm/src/imxrt/imxrt_serial.c +++ b/arch/arm/src/imxrt/imxrt_serial.c @@ -100,19 +100,19 @@ # define UART4_ASSIGNED 1 #elif defined(CONFIG_LPUART5_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart5port /* LPUART5 is console */ -# define TTYS5_DEV g_uart5port /* LPUART5 is ttyS0 */ +# define TTYS0_DEV g_uart5port /* LPUART5 is ttyS0 */ # define UART5_ASSIGNED 1 #elif defined(CONFIG_LPUART6_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart6port /* LPUART6 is console */ -# define TTYS6_DEV g_uart6port /* LPUART6 is ttyS0 */ +# define TTYS0_DEV g_uart6port /* LPUART6 is ttyS0 */ # define UART6_ASSIGNED 1 #elif defined(CONFIG_LPUART7_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart7port /* LPUART7 is console */ -# define TTYS7_DEV g_uart7port /* LPUART7 is ttyS0 */ +# define TTYS0_DEV g_uart7port /* LPUART7 is ttyS0 */ # define UART7_ASSIGNED 1 #elif defined(CONFIG_LPUART8_SERIAL_CONSOLE) # define CONSOLE_DEV g_uart8port /* LPUART8 is console */ -# define TTYS8_DEV g_uart8port /* LPUART8 is ttyS0 */ +# define TTYS0_DEV g_uart8port /* LPUART8 is ttyS0 */ # define UART8_ASSIGNED 1 #else # undef CONSOLE_DEV /* No console */