drivers/serial/uart_16550.c: Fox UART flow control issue. UART_MCR_RTS need be high even UART_MCR_AFCE is enabled

This commit is contained in:
zhangyuan7
2018-11-08 10:21:16 -06:00
committed by Gregory Nutt
parent 82e0b0328b
commit a7d9d4bc1e
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -713,6 +713,8 @@ static int u16550_setup(FAR struct uart_dev_s *dev)
mcr &= ~UART_MCR_AFCE;
}
mcr |= UART_MCR_RTS;
u16550_serialout(priv, UART_MCR_OFFSET, mcr);
#endif /* defined(CONFIG_SERIAL_IFLOWCONTROL) || defined(CONFIG_SERIAL_OFLOWCONTROL) */