[stock] New Makefile option GPS=YES/NO (saves 1.5k flash if disabled)

[stock] FRSKY_BARS option renamed to GAUGES=YES/NO (it could be used for another telemetry system in the future)
This commit is contained in:
bsongis@gmail.com
2013-05-21 12:44:14 +00:00
parent 53e061ab6a
commit b0e49b8aaf
7 changed files with 55 additions and 28 deletions
+14 -5
View File
@@ -149,10 +149,15 @@ FRSKY_HUB = YES
# Values = YES, NO
WS_HOW_HIGH = YES
# Bars in Telemetry screen
FRSKY_BARS = YES
# Gauges in Telemetry screen
# Values = YES, NO
GAUGES = YES
# WS HowHigh
# GPS
# Values = YES, NO
GPS = YES
# Vario
# Values = YES, NO
VARIO = YES
@@ -833,8 +838,12 @@ ifeq ($(EXT), $(filter $(EXT), FRSKY TELEMETREZ))
CPPDEFS += -DWS_HOW_HIGH
endif
ifeq ($(FRSKY_BARS), YES)
CPPDEFS += -DFRSKY_BARS
ifeq ($(GAUGES), YES)
CPPDEFS += -DGAUGES
endif
ifeq ($(GPS), YES)
CPPDEFS += -DGPS
endif
ifeq ($(VARIO), YES)