mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +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;
|
||||
#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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue