BugFix:uart_ops_s portion of cdcacm will not be initalized with correct functions if CONFIG_SERIAL_DMA is lit.

This fixes the issses in a C99 compatible way
This commit is contained in:
David Sidrane 2016-12-17 04:29:41 -10:00
parent 6599feb310
commit 548108764a
1 changed files with 6 additions and 0 deletions

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