mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
@@ -713,6 +713,8 @@ static int u16550_setup(FAR struct uart_dev_s *dev)
|
|||||||
mcr &= ~UART_MCR_AFCE;
|
mcr &= ~UART_MCR_AFCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mcr |= UART_MCR_RTS;
|
||||||
|
|
||||||
u16550_serialout(priv, UART_MCR_OFFSET, mcr);
|
u16550_serialout(priv, UART_MCR_OFFSET, mcr);
|
||||||
#endif /* defined(CONFIG_SERIAL_IFLOWCONTROL) || defined(CONFIG_SERIAL_OFLOWCONTROL) */
|
#endif /* defined(CONFIG_SERIAL_IFLOWCONTROL) || defined(CONFIG_SERIAL_OFLOWCONTROL) */
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -80,7 +80,7 @@ config FS_PROCFS_EXCLUDE_UPTIME
|
|||||||
|
|
||||||
config FS_PROCFS_EXCLUDE_VERSION
|
config FS_PROCFS_EXCLUDE_VERSION
|
||||||
bool "Exclude version"
|
bool "Exclude version"
|
||||||
default n
|
default y
|
||||||
|
|
||||||
config FS_PROCFS_EXCLUDE_CPULOAD
|
config FS_PROCFS_EXCLUDE_CPULOAD
|
||||||
bool "Exclude CPU load"
|
bool "Exclude CPU load"
|
||||||
|
|||||||
Reference in New Issue
Block a user