Xiang Xiao
694c0f0b7f
usbhost/cdcacm: Fix the compiler warning when serial dma is enabled
CP: nuttx/nuttx/include/nuttx/config.h
CC: mqueue/mq_sndinternal.c usbhost/usbhost_cdcacm.c:435:3: warning: initialization of ‘void (*)(struct uart_dev_s *)’ from incompatible pointer type ‘void (*)(struct uart_dev_s *, _Bool)’ [-Wincompatible-pointer-types]
435 | usbhost_txint, /* txinit */
| ^~~~~~~~~~~~~
usbhost/usbhost_cdcacm.c:435:3: note: (near initialization for ‘g_uart_ops.dmareceive’)
usbhost/usbhost_cdcacm.c:436:3: warning: initialization of ‘void (*)(struct uart_dev_s *)’ from incompatible pointer type ‘_Bool (*)(struct uart_dev_s *)’ [-Wincompatible-pointer-types]
436 | usbhost_txready, /* txready */
| ^~~~~~~~~~~~~~~
usbhost/usbhost_cdcacm.c:436:3: note: (near initialization for ‘g_uart_ops.dmarxfree’)
usbhost/usbhost_cdcacm.c:437:3: warning: initialization of ‘void (*)(struct uart_dev_s *)’ from incompatible pointer type ‘_Bool (*)(struct uart_dev_s *)’ [-Wincompatible-pointer-types]
437 | usbhost_txempty /* txempty */
| ^~~~~~~~~~~~~~~
usbhost/usbhost_cdcacm.c:437:3: note: (near initialization for ‘g_uart_ops.dmatxavail’)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-05 09:25:31 +02:00
..
2021-12-20 10:30:08 +01:00
2023-05-23 00:03:25 +08:00
2022-11-03 19:59:55 +08:00
2023-06-05 09:25:31 +02:00
2023-04-24 16:13:29 +02:00
2023-05-11 09:44:18 +02:00
2023-05-21 09:50:36 -03:00
2022-12-08 22:49:26 +08:00
2023-03-29 09:22:41 -03:00
2023-01-04 17:43:59 +02:00
2023-05-18 13:47:15 +08:00
2023-05-11 09:44:18 +02:00
2022-11-03 14:43:12 +01:00
2023-01-31 11:50:28 -03:00
2021-06-03 08:36:03 -07:00
2023-01-04 17:43:59 +02:00