New Makefile option to display the limits in us

This commit is contained in:
bsongis
2012-04-16 09:32:18 +00:00
parent 25ce47aa06
commit 4d07444bc4
7 changed files with 2234 additions and 2210 deletions
+9 -1
View File
@@ -63,7 +63,11 @@ HAPTIC = NO
# SPLASH on START
SPLASH = YES
# Decimals display in the main view (PPM calibration,
# Limits display in the LIMITS
# Values = PERCENT, US
LIMITS = PERCENT
# Decimals display in the main view / PPM calibration,
# Values = YES, NO
DECIMALS = YES
@@ -346,6 +350,10 @@ endif
### Global Build-Option Directives ###
ifeq ($(LIMITS), US)
CPPDEFS += -DLIMITS_US
endif
ifeq ($(DECIMALS), YES)
CPPDEFS += -DDECIMALS_DISPLAYED
endif