A1/A2/A3/A4 skipped in the sources list when their range is not defined
This commit is contained in:
@@ -1443,6 +1443,10 @@ bool isTelemetrySourceAvailable(int source)
|
|||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (source >= TELEM_A1 && source <= TELEM_A4) {
|
||||||
|
return g_model.frsky.channels[source-TELEM_A1].ratio != 0;
|
||||||
|
}
|
||||||
|
|
||||||
#if !defined(RTCLOCK)
|
#if !defined(RTCLOCK)
|
||||||
if (source == TELEM_TX_TIME)
|
if (source == TELEM_TX_TIME)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user