mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
This commit is contained in:
@@ -238,6 +238,9 @@ static const struct uart_ops_s g_uartops =
|
||||
NULL, /* receive */
|
||||
cdcuart_rxint, /* rxinit */
|
||||
NULL, /* rxavailable */
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
NULL, /* rxflowcontrol */
|
||||
#endif
|
||||
NULL, /* send */
|
||||
cdcuart_txint, /* txinit */
|
||||
NULL, /* txready */
|
||||
|
||||
@@ -401,6 +401,9 @@ static const struct uart_ops_s g_uartops =
|
||||
NULL, /* receive */
|
||||
usbser_rxint, /* rxinit */
|
||||
NULL, /* rxavailable */
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
NULL, /* rxflowcontrol */
|
||||
#endif
|
||||
NULL, /* send */
|
||||
usbser_txint, /* txinit */
|
||||
NULL, /* txready */
|
||||
|
||||
Reference in New Issue
Block a user