Auto Switch function (only in Flight Phases now)

This commit is contained in:
bsongis
2012-05-06 21:41:41 +00:00
parent 809e45c1e2
commit 597d201b30
5 changed files with 44 additions and 12 deletions
+8
View File
@@ -47,6 +47,10 @@ TEMPLATES = YES
# POTS (POT1, POT2, POT3),
NAVIGATION = NO
# Switches autmatic selection
# Values = YES, NO
AUTOSWITCH = YES
# AUDIO Mods
# Values = YES, NO
AUDIO = NO
@@ -226,6 +230,10 @@ ifeq ($(NAVIGATION), POTS)
CPPDEFS += -DNAVIGATION_POT1 -DNAVIGATION_POT2 -DNAVIGATION_POT3
endif
ifeq ($(AUTOSWITCH), YES)
CPPDEFS += -DAUTOSWITCH
endif
ifeq ($(SPLASH), YES)
CPPDEFS += -DSPLASH
endif