[Taranis] RSSI is sent by the module even if the Rx is OFF!

This commit is contained in:
bsongis@gmail.com
2013-05-13 19:47:42 +00:00
parent 2d58fa3f55
commit 698e977833
+5
View File
@@ -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);