From 4ffe49ef01fc2db191e5dfca1a6c15ac30b898d9 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Sat, 4 Jan 2014 20:41:19 +0100 Subject: [PATCH] A2 was also disabled in custom switches in D16 mode --- src/opentx.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/opentx.cpp b/src/opentx.cpp index 6f02ebd2f..574da915f 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -1013,11 +1013,6 @@ bool getSwitch(int8_t swtch) if (cs->v1 >= MIXSRC_FIRST_TELEM) { if ((!TELEMETRY_STREAMING() && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_FIRST_STREAMED_VALUE-1) || IS_FAI_FORBIDDEN(cs->v1-1)) return swtch > 0 ? false : true; - -#if defined (PCBTARANIS) - if (cs->v1 == MIXSRC_FIRST_TELEM+TELEM_A2-1 && g_model.moduleData[INTERNAL_MODULE].rfProtocol == RF_PROTO_X16) - return swtch > 0 ? false : true; -#endif y = convertCswTelemValue(cs);