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

RxBatt overflow (it's stored in a 8bits variable)

This commit is contained in:
bsongis 2014-05-23 17:00:49 +02:00
parent 3126586615
commit a46b78bd97
5 changed files with 6 additions and 5 deletions

View file

@ -1610,7 +1610,7 @@ PLAY_FUNCTION(playValue, uint8_t idx)
break;
case MIXSRC_FIRST_TELEM+TELEM_RX_VOLTAGE-1:
if (TELEMETRY_STREAMING()) {
PLAY_NUMBER(div10_and_round(val), 1+UNIT_VOLTS, PREC1);
PLAY_NUMBER(val/2, 1+UNIT_VOLTS, PREC1);
}
break;
#endif