mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +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,
|
.parity = CONFIG_16550_UART1_PARITY,
|
||||||
.bits = CONFIG_16550_UART1_BITS,
|
.bits = CONFIG_16550_UART1_BITS,
|
||||||
.stopbits2 = CONFIG_16550_UART1_2STOP,
|
.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,
|
.flow = true,
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user