fix redundant-decls warnings by usbd/usbh

This commit is contained in:
hathach
2022-06-24 22:22:52 +07:00
parent 1d6918ce41
commit 0042eccb3b
10 changed files with 16 additions and 21 deletions
-3
View File
@@ -16,9 +16,6 @@ CFLAGS += \
# suppress warning caused by vendor mcu driver
CFLAGS += -Wno-error=undef -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=cast-qual
# warning caused by dcd_nrf5x.c due to include of usbd.h and re-declare of dcd_int_handler()
CFLAGS += -Wno-error=redundant-decls
# All source paths should be relative to the top level.
LD_FILE ?= hw/bsp/nrf/boards/$(BOARD)/nrf52840_s140_v6.ld