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:
Gregory Nutt
2016-12-17 08:57:33 -06:00
+6
View File
@@ -242,6 +242,12 @@ static const struct uart_ops_s g_uartops =
NULL, /* rxavailable */
#ifdef CONFIG_SERIAL_IFLOWCONTROL
cdcuart_rxflowcontrol, /* rxflowcontrol */
#endif
#ifdef CONFIG_SERIAL_DMA
NULL, /* dmasend */
NULL, /* dmareceive */
NULL, /* dmarxfree */
NULL, /* dmatxavail */
#endif
NULL, /* send */
cdcuart_txint, /* txinit */