1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00

All disabled telemetry google tests are now enabled

This commit is contained in:
bsongis 2015-06-15 22:05:53 +02:00
parent 414070bde1
commit 34d096e115
6 changed files with 192 additions and 184 deletions

View file

@ -87,7 +87,7 @@ PLAY_FUNCTION(playValue, source_t idx)
}
}
}
PLAY_NUMBER(val, 1+telemetrySensor.unit, attr);
PLAY_NUMBER(val, telemetrySensor.unit == UNIT_CELLS ? UNIT_VOLTS : telemetrySensor.unit, attr);
}
else if (idx >= MIXSRC_FIRST_TIMER && idx <= MIXSRC_LAST_TIMER) {
PLAY_DURATION(val, 0);
@ -96,7 +96,7 @@ PLAY_FUNCTION(playValue, source_t idx)
PLAY_DURATION(val*60, PLAY_TIME);
}
else if (idx == MIXSRC_TX_VOLTAGE) {
PLAY_NUMBER(val, 1+UNIT_VOLTS, PREC1);
PLAY_NUMBER(val, UNIT_VOLTS, PREC1);
}
else {
if (idx <= MIXSRC_LAST_CH) {