From ebc8359c67d8989dfeb196b9a86b0d4c8c593173 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 10 Nov 2021 12:47:55 -0600 Subject: [PATCH] disable missing-prototypes diagnostics in yet another tinyusb file --- ports/atmel-samd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index 045f3741eb..9c4bc7a14d 100644 --- a/ports/atmel-samd/Makefile +++ b/ports/atmel-samd/Makefile @@ -328,6 +328,8 @@ SRC_C += \ timer_handler.c \ $(SRC_PERIPHERALS) \ +$(BUILD)/lib/tinyusb/src/portable/microchip/samd/dcd_samd.o: CFLAGS += -Wno-missing-prototypes + # This is an OR because it filters to any 1s and then checks to see if it is not # empty. ifneq (,$(filter 1,$(CIRCUITPY_PWMIO) $(CIRCUITPY_AUDIOIO) $(CIRCUITPY_RGBMATRIX)))