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:
parent
59d121e5d4
commit
a6c01f990b
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue