summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-10-24 00:19:19 +0700
committerGitHub <[email protected]>2021-10-24 00:19:19 +0700
commitffde3bd33d1fcd66c1ebc6019cde8e82ff43db3b (patch)
tree4119b44658bc6d66947ba0e4605fea16ea4ea678 /examples/host/hid_controller
parentb541c0f5e07696ead205666e43c726b14277e0d9 (diff)
parent311c05b401591507cbc4977926bcc878d3f119aa (diff)
Merge pull request #1159 from hathach/fix-warnings
Increase compiler warnings flags
Diffstat (limited to 'examples/host/hid_controller')
-rw-r--r--examples/host/hid_controller/Makefile3
1 files changed, 2 insertions, 1 deletions
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 += \