build-PX4: changed the PX4 build to use CONFIG_C99_BOOL8
this fixes bool behaviour to match C99, which some of the APM code assumed, including simple mode in ArduCopter
This commit is contained in:
parent
7f79398989
commit
c612b4ad73
@ -168,8 +168,8 @@ include $(APPDIR)/Make.defs
|
||||
|
||||
# this allows us to generate the main function
|
||||
SKETCHFLAGS = -DCONFIG_HAL_BOARD=HAL_BOARD_PX4 -DSKETCHNAME=\"$(SKETCH)\" -DSKETCH_MAIN=$(SKETCH)_main $(EXTRAFLAGS)
|
||||
CFLAGS += $(SKETCHFLAGS)
|
||||
CXXFLAGS += $(SKETCHFLAGS)
|
||||
CFLAGS += $(SKETCHFLAGS) -DCONFIG_C99_BOOL8
|
||||
CXXFLAGS += $(SKETCHFLAGS) -DCONFIG_C99_BOOL8
|
||||
|
||||
############################################################################
|
||||
# Sanity-check the information we've been given and set any defaults
|
||||
|
Loading…
Reference in New Issue
Block a user