mirror of
https://github.com/apache/nuttx.git
synced 2026-08-13 16:35:21 +00:00
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
This commit is contained in:
parent
7685acc934
commit
b28d3124dd
2 changed files with 6 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue