mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
This commit is contained in:
@@ -132,6 +132,9 @@ static const struct uart_ops_s g_uart_ops =
|
||||
up_receive, /* receive */
|
||||
up_rxint, /* rxint */
|
||||
up_rxavailable, /* rxavailable */
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
NULL, /* rxflowcontrol */
|
||||
#endif
|
||||
up_send, /* send */
|
||||
up_txint, /* txint */
|
||||
up_txready, /* txready */
|
||||
|
||||
@@ -97,6 +97,9 @@ static const struct uart_ops_s g_uart_ops =
|
||||
up_receive, /* receive */
|
||||
up_rxint, /* rxint */
|
||||
up_rxavailable, /* rxavailable */
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
NULL, /* rxflowcontrol */
|
||||
#endif
|
||||
up_send, /* send */
|
||||
up_txint, /* txint */
|
||||
up_txready, /* txready */
|
||||
|
||||
Reference in New Issue
Block a user