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:
Andrew Tridgell 2013-04-24 08:31:39 +10:00
parent 7f79398989
commit c612b4ad73

View File

@ -168,8 +168,8 @@ include $(APPDIR)/Make.defs
# this allows us to generate the main function # this allows us to generate the main function
SKETCHFLAGS = -DCONFIG_HAL_BOARD=HAL_BOARD_PX4 -DSKETCHNAME=\"$(SKETCH)\" -DSKETCH_MAIN=$(SKETCH)_main $(EXTRAFLAGS) SKETCHFLAGS = -DCONFIG_HAL_BOARD=HAL_BOARD_PX4 -DSKETCHNAME=\"$(SKETCH)\" -DSKETCH_MAIN=$(SKETCH)_main $(EXTRAFLAGS)
CFLAGS += $(SKETCHFLAGS) CFLAGS += $(SKETCHFLAGS) -DCONFIG_C99_BOOL8
CXXFLAGS += $(SKETCHFLAGS) CXXFLAGS += $(SKETCHFLAGS) -DCONFIG_C99_BOOL8
############################################################################ ############################################################################
# Sanity-check the information we've been given and set any defaults # Sanity-check the information we've been given and set any defaults