Issue 166 started (Thanks KanishkaRC)

This commit is contained in:
bsongis
2013-01-22 07:04:52 +00:00
parent cd90b935f3
commit 12ca975280
+14
View File
@@ -205,6 +205,10 @@ XCURVES = YES
# Values = YES, NO
GVARS = NO
# Enable another 3 positions switch to replace a pot
# Values = NO, POT1, POT2, POT3,
3POS = NO
#------- END BUILD OPTIONS ---------------------------
# Define programs and commands.
@@ -714,6 +718,16 @@ ifeq ($(IRPROTOS), YES)
CPPDEFS += -DIRPROTOS
endif
ifeq ($(3POS), POT1)
CPPDEFS += -DP13POS
endif
ifeq ($(3POS), POT2)
CPPDEFS += -DP23POS
endif
ifeq ($(3POS), POT3)
CPPDEFS += -DP33POS
endif
#---------------- Compiler Options C++ ----------------
# -g*: generate debugging information
# -O*: optimization level