From 6fcf4bee8c1540618b5d8d8709ef76cd2aa1c66f Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 18 Oct 2021 11:42:00 +0700 Subject: suppress null-dereference by usbh and lwip --- examples/host/hid_controller/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/host/hid_controller') diff --git a/examples/host/hid_controller/Makefile b/examples/host/hid_controller/Makefile index 6f59faeee..2595ec4a7 100644 --- a/examples/host/hid_controller/Makefile +++ b/examples/host/hid_controller/Makefile @@ -12,7 +12,8 @@ EXAMPLE_SOURCE += \ SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE)) -CFLAGS += -Wno-error=cast-align +# TODO: suppress warning caused by host stack +CFLAGS += -Wno-error=cast-align -Wno-error=null-dereference # TinyUSB Host Stack source SRC_C += \ -- cgit v1.3.1