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

Disable TX_TIME when no RTCLOCK on board

This commit is contained in:
bsongis 2014-05-09 17:11:02 +02:00
parent 41571d4a74
commit 9a086312c7
3 changed files with 7 additions and 2 deletions

View file

@ -1298,7 +1298,7 @@ getvalue_t getValue(uint8_t i)
#endif
else if (i==MIXSRC_FIRST_TELEM-1+TELEM_TX_VOLTAGE) return g_vbat100mV;
#if defined(CPUARM)
#if defined(CPUARM) && defined(RTCLOCK)
else if (i==MIXSRC_FIRST_TELEM-1+TELEM_TX_TIME) {
struct gtm t;
gettime(&t);