From 59b26ad36cba7b47cea3993a1c0a54581dd176b5 Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Mon, 13 May 2013 20:07:03 +0000 Subject: [PATCH] [Taranis] RSSI is sent by the module even if the Rx is OFF! --- src/opentx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opentx.cpp b/src/opentx.cpp index 633acec70..135ebbb38 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -1026,7 +1026,7 @@ bool __getSwitch(int8_t swtch) // Telemetry if (cs->v1 >= MIXSRC_FIRST_TELEM) { #if defined(PCBTARANIS) - if (frskyData.rssi[0] == 0 && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_TM2) + if (frskyData.rssi[0].value == 0 && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_TM2) return swtch > 0 ? false : true; #else if (frskyStreaming <= 0 && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_TM2)