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

This commit is contained in:
bsongis
2014-05-23 17:26:26 +02:00
parent 3126586615
commit a46b78bd97
5 changed files with 6 additions and 5 deletions
+1 -1
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