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:
parent
6599feb310
commit
548108764a
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user