mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Merged in david_s5/nuttx/master_cdcacm_fix (pull request #185)
BugFix:uart_ops_s portion of cdcacm will not be initalized with correct functions if CONFIG_SERIAL_DMA is lit.
This commit is contained in:
@@ -242,6 +242,12 @@ static const struct uart_ops_s g_uartops =
|
|||||||
NULL, /* rxavailable */
|
NULL, /* rxavailable */
|
||||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||||
cdcuart_rxflowcontrol, /* rxflowcontrol */
|
cdcuart_rxflowcontrol, /* rxflowcontrol */
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_SERIAL_DMA
|
||||||
|
NULL, /* dmasend */
|
||||||
|
NULL, /* dmareceive */
|
||||||
|
NULL, /* dmarxfree */
|
||||||
|
NULL, /* dmatxavail */
|
||||||
#endif
|
#endif
|
||||||
NULL, /* send */
|
NULL, /* send */
|
||||||
cdcuart_txint, /* txinit */
|
cdcuart_txint, /* txinit */
|
||||||
|
|||||||
Reference in New Issue
Block a user