New Makefile option to display the limits in us
This commit is contained in:
+9
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user