From 698e9778336d3d65635374134c4fe402a27afe8a Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Mon, 13 May 2013 19:47:42 +0000 Subject: [PATCH] [Taranis] RSSI is sent by the module even if the Rx is OFF! --- src/opentx.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/opentx.cpp b/src/opentx.cpp index 3f6ee47be..633acec70 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -1025,8 +1025,13 @@ bool __getSwitch(int8_t swtch) #if defined(FRSKY) // Telemetry if (cs->v1 >= MIXSRC_FIRST_TELEM) { +#if defined(PCBTARANIS) + if (frskyData.rssi[0] == 0 && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_TM2) + return swtch > 0 ? false : true; +#else if (frskyStreaming <= 0 && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_TM2) return swtch > 0 ? false : true; +#endif y = convertCswTelemValue(cs);