SWR hidden on Taranis+

This commit is contained in:
bsongis
2014-08-16 11:37:59 +02:00
parent 5cbfcc45a4
commit 18748b4d6a
3 changed files with 13 additions and 3 deletions
+6
View File
@@ -1433,6 +1433,12 @@ bool isTelemetrySourceAvailable(int source)
return false;
#endif
#if defined(PCBTARANIS) && defined(REVPLUS)
// on Taranis+ we also hide the SWR
if (source == TELEM_SWR)
return false;
#endif
if (source >= TELEM_A1 && source <= TELEM_A4) {
return g_model.frsky.channels[source-TELEM_A1].ratio != 0;
}