Option UNITS=IMPERIAL added

SD card archive function continued (doesn't delete the model until function finished)
Alternate view for outputs in Main Views (Bars and Numbers)
GPS speed was badly displayed (ap instead of bp)
This commit is contained in:
bsongis
2012-04-19 17:03:51 +00:00
parent 35f60e9899
commit 3967d82a28
18 changed files with 207 additions and 82 deletions
+10 -2
View File
@@ -104,9 +104,13 @@ DSM2 = NO
SOMO = NO
# TRANSLATIONS
# Values = en,
# Values = en, fr, se
TRANSLATIONS = EN
# UNITS
# Values = imperial, metric
UNITS = METRIC
# EEPROM_PROGRESS_BAR
# Values = YES, NO
EEPROM_PROGRESS_BAR = NO
@@ -212,6 +216,10 @@ EXTRAINCDIRS = . translations
CPPDEFS += -DTRANSLATIONS_$(TRANSLATIONS)
ifeq ($(UNITS), IMPERIAL)
CPPDEFS += -DIMPERIAL_UNITS
endif
# If POT1/POTS/RE1 is used for fields modification
ifeq ($(NAVIGATION), POT1)
CPPDEFS += -DNAVIGATION_POT1
@@ -315,7 +323,7 @@ ifeq ($(PCB), V4)
endif
ifeq ($(SDCARD), YES)
CPPDEFS += -DSDCARD
CPPDEFS += -DSDCARD
CPPSRC += gruvin9x/logs.cpp
MODS:=${MODS}S
endif