build: disable warnings for unused params for FLYMAPLE

Other boards disable it, so the common code contains a lot of unused
parameters already. Use -Wno-unused-parameter to reduce the "noise".
This commit is contained in:
Caio Marcelo de Oliveira Filho 2015-11-11 09:40:37 -02:00 committed by Andrew Tridgell
parent 6522fb2621
commit 8630df00b3
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ DEFINES += -DSKETCH=\"$(SKETCH)\" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKE
DEFINES += $(EXTRAFLAGS)
DEFINES += -DCONFIG_HAL_BOARD=$(HAL_BOARD)
WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -Wno-psabi
WARNFLAGS += -Wwrite-strings -Wformat=2
WARNFLAGS += -Wwrite-strings -Wformat=2 -Wno-unused-parameter
WARNFLAGSCXX = -Wno-reorder
DEPFLAGS = -MD -MT $@