nrf52/nrf53: lowputc: fix compilation if flow control enabled

This commit is contained in:
raiden00pl 2023-03-11 10:54:27 +01:00 committed by Petro Karashchenko
parent f48846676e
commit 620c6cfd58
2 changed files with 0 additions and 12 deletions

View File

@ -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,
};

View File

@ -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,
};