diff --git a/examples/make.mk b/examples/make.mk index 0a07da21c..2ce6fb398 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -150,6 +150,7 @@ GCC_CFLAGS += \ -Wnull-dereference \ -Wuninitialized \ -Wunused \ + -Wreturn-type \ -Wredundant-decls # conversion is too strict for most mcu driver, may be disable sign/int/arith-conversion