From 620c6cfd581e2aa187b796b8f293b38b897f9966 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sat, 11 Mar 2023 10:54:27 +0100 Subject: [PATCH] nrf52/nrf53: lowputc: fix compilation if flow control enabled --- arch/arm/src/nrf52/nrf52_lowputc.c | 6 ------ arch/arm/src/nrf53/nrf53_lowputc.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/arch/arm/src/nrf52/nrf52_lowputc.c b/arch/arm/src/nrf52/nrf52_lowputc.c index c487d7d26f..4b94b61733 100644 --- a/arch/arm/src/nrf52/nrf52_lowputc.c +++ b/arch/arm/src/nrf52/nrf52_lowputc.c @@ -74,12 +74,6 @@ static const struct uart_config_s g_console_config = .parity = CONSOLE_PARITY, .bits = CONSOLE_BITS, .stopbits2 = CONSOLE_2STOP, -#ifdef CONFIG_SERIAL_IFLOWCONTROL - .iflow = CONSOLE_IFLOW, -#endif -#ifdef CONFIG_SERIAL_OFLOWCONTROL - .oflow = CONSOLE_OFLOW, -#endif .txpin = CONSOLE_TX_PIN, .rxpin = CONSOLE_RX_PIN, }; diff --git a/arch/arm/src/nrf53/nrf53_lowputc.c b/arch/arm/src/nrf53/nrf53_lowputc.c index a6d65086c1..fff8acfcc4 100644 --- a/arch/arm/src/nrf53/nrf53_lowputc.c +++ b/arch/arm/src/nrf53/nrf53_lowputc.c @@ -74,12 +74,6 @@ static const struct uart_config_s g_console_config = .parity = CONSOLE_PARITY, .bits = CONSOLE_BITS, .stopbits2 = CONSOLE_2STOP, -#ifdef CONFIG_SERIAL_IFLOWCONTROL - .iflow = CONSOLE_IFLOW, -#endif -#ifdef CONFIG_SERIAL_OFLOWCONTROL - .oflow = CONSOLE_OFLOW, -#endif .txpin = CONSOLE_TX_PIN, .rxpin = CONSOLE_RX_PIN, };