From f7af41c81c6df72fdf9076fc39034133186d6228 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 16 Jun 2015 18:18:34 +0200 Subject: [PATCH] [Taranis X9E] Sliders S1 and S2 were not shown in the calibration screen --- radio/src/opentx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 00f8200fb..7efae5d33 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -355,7 +355,7 @@ extern void boardInit(); #if defined(PCBTARANIS) && defined(REV9E) #define IS_SLIDER_AVAILABLE(x) ((x)==SLIDER1 || (x)==SLIDER2 || (g_eeGeneral.slidersConfig & (0x01 << ((x)-SLIDER3)))) - #define IS_POT_AVAILABLE(x) ((x)=SLIDER3 && IS_SLIDER_AVAILABLE(x))) + #define IS_POT_AVAILABLE(x) ((x)=SLIDER1 && IS_SLIDER_AVAILABLE(x))) #define IS_POT_MULTIPOS(x) ((x)>=POT1 && (x)<=POT_LAST && ((g_eeGeneral.potsConfig>>(2*((x)-POT1)))&0x03)==POT_MULTIPOS_SWITCH) #define IS_POT_WITHOUT_DETENT(x) ((x)>=POT1 && (x)<=POT_LAST && ((g_eeGeneral.potsConfig>>(2*((x)-POT1)))&0x03)==POT_WITHOUT_DETENT) #elif defined(PCBTARANIS) && defined(REVPLUS)