mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
Disable TX_TIME when no RTCLOCK on board
This commit is contained in:
parent
41571d4a74
commit
9a086312c7
3 changed files with 7 additions and 2 deletions
|
@ -1428,6 +1428,11 @@ bool isTelemetrySourceAvailable(int source)
|
|||
return false;
|
||||
#endif
|
||||
|
||||
#if !defined(RTCLOCK)
|
||||
if (source == TELEM_TX_TIME)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
if (source >= TELEM_RESERVE1 && source <= TELEM_RESERVE5)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue