[Taranis X9E] Makefile option "SHUTDOWN_CONFIRMATION=YES/NO" added

This commit is contained in:
bsongis
2015-07-11 17:21:20 +02:00
parent ede587f2e1
commit 1f665561eb
6 changed files with 243 additions and 237 deletions
+8
View File
@@ -257,6 +257,10 @@ DEFAULT_MODE = NO
# Values = YES, NO
EEPROM_PROGRESS_BAR = NO
# Shutdown confirmation (for boards which have soft power)
# Values = NO, YES
SHUTDOWN_CONFIRMATION = NO
# Activates the DEBUG Mode (all boards)
# On G9X V4 board, when VOICE=NO:
# PORTH:7 --> Transition LOW to HIGH = start of setupPulses(). Transition HIGH to LOW = end of setupPulses().
@@ -1286,6 +1290,10 @@ ifeq ($(EEPROM_PROGRESS_BAR), YES)
CPPDEFS += -DEEPROM_PROGRESS_BAR
endif
ifeq ($(SHUTDOWN_CONFIRMATION), YES)
CPPDEFS += -DSHUTDOWN_CONFIRMATION
endif
RUN_FROM_FLASH = 1
### Global Build-Option Directives ###