From ddc1899b718c4ff005880de929859a73d55c5665 Mon Sep 17 00:00:00 2001 From: "maxim.karban@gmail.com" Date: Wed, 18 Apr 2012 07:51:39 +0000 Subject: [PATCH] Makefile options and letters added # Enable Extended vario functions (V4 board only) # Values = YES, NO VARIO_EXTENDED = NO and ${MODS}V --- src/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Makefile b/src/Makefile index 5d3ef8c24..e37516b85 100644 --- a/src/Makefile +++ b/src/Makefile @@ -83,6 +83,10 @@ DISPLAY_USER_DATA = NO # Values = YES, NO FRSKY_HUB = YES +# Enable Extended vario functions (V4 board only) +# Values = YES, NO +VARIO_EXTENDED = NO + # WS HowHigh # Values = YES, NO WS_HOW_HIGH = YES @@ -329,6 +333,11 @@ ifeq ($(PCB), V4) CPPDEFS += -DEXTRA_ROTARY_ENCODERS MODS:=${MODS}X endif + + ifeq ($(VARIO_EXTENDED), YES) + CPPDEFS += -DVARIO_EXTENDED + MODS:=${MODS}V + endif endif