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

This commit is contained in:
bsongis@gmail.com
2013-05-13 20:07:03 +00:00
parent 698e977833
commit 59b26ad36c
+1 -1
View File
@@ -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)