1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

A1/A2/A3/A4 skipped in the sources list when their range is not defined

This commit is contained in:
bsongis 2014-05-25 14:30:51 +02:00
parent 59d121e5d4
commit a6c01f990b

View file

@ -1443,6 +1443,10 @@ bool isTelemetrySourceAvailable(int source)
return false;
#endif
if (source >= TELEM_A1 && source <= TELEM_A4) {
return g_model.frsky.channels[source-TELEM_A1].ratio != 0;
}
#if !defined(RTCLOCK)
if (source == TELEM_TX_TIME)
return false;