Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna

This commit is contained in:
Gregory Nutt 2014-05-08 09:00:33 -06:00
parent 7685acc934
commit b28d3124dd
2 changed files with 6 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */