mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
drivers/serial/uart_16550.c: Fix typo for UART1 flow field initialization
This commit is contained in:
@@ -215,7 +215,7 @@ static struct u16550_s g_uart1priv =
|
||||
.parity = CONFIG_16550_UART1_PARITY,
|
||||
.bits = CONFIG_16550_UART1_BITS,
|
||||
.stopbits2 = CONFIG_16550_UART1_2STOP,
|
||||
#if defined(CONFIG_16550_UART1_IFLOWCONTROL) || defined(CONFIG_16551_UART1_OFLOWCONTROL)
|
||||
#if defined(CONFIG_16550_UART1_IFLOWCONTROL) || defined(CONFIG_16550_UART1_OFLOWCONTROL)
|
||||
.flow = true,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user