From 9713e0768d072b2b0515ebe0ec3d6fc374213f2e Mon Sep 17 00:00:00 2001 From: Dave Marples Date: Fri, 12 Oct 2018 17:03:50 -0600 Subject: [PATCH] arch/arm/src/lpc43xx/lpc43_serial.c: Fix copy-paste error: g_usart1port->g_uart1port. --- arch/arm/src/lpc43xx/lpc43_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/lpc43xx/lpc43_serial.c b/arch/arm/src/lpc43xx/lpc43_serial.c index bf3e9613bf..cba8f9c0af 100644 --- a/arch/arm/src/lpc43xx/lpc43_serial.c +++ b/arch/arm/src/lpc43xx/lpc43_serial.c @@ -382,7 +382,7 @@ static uart_dev_t g_usart3port = # define TTYS1_DEV g_usart0port /* USART0=ttyS1 */ # define USART0_ASSIGNED 1 #elif defined(CONFIG_LPC43_UART1) && !defined(UART1_ASSIGNED) -# define TTYS1_DEV g_usart1port /* USART1=ttyS1 */ +# define TTYS1_DEV g_uart1port /* USART1=ttyS1 */ # define UART1_ASSIGNED 1 #elif defined(CONFIG_LPC43_USART2) && !defined(USART2_ASSIGNED) # define TTYS1_DEV g_usart2port /* USART2=ttyS1 */ @@ -395,7 +395,7 @@ static uart_dev_t g_usart3port = /* Assign ttyS2. USART0 has already been assigned if it was configured. */ #if defined(CONFIG_LPC43_UART1) && !defined(UART1_ASSIGNED) -# define TTYS2_DEV g_usart1port /* USART1=ttyS2 */ +# define TTYS2_DEV g_uart1port /* USART1=ttyS2 */ # define UART1_ASSIGNED 1 #elif defined(CONFIG_LPC43_USART2) && !defined(USART2_ASSIGNED) # define TTYS2_DEV g_usart2port /* USART2=ttyS2 */