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

Prevent mAh from becoming old when counting slowly

This commit is contained in:
Andre Bernet 2015-04-25 19:33:49 +04:00
parent b40b1dadff
commit df2318a45d

View file

@ -266,6 +266,7 @@ void TelemetryItem::per10ms(const TelemetrySensor & sensor)
currentItem.consumption.prescale -= 3600;
setValue(sensor, value+1, sensor.unit, sensor.prec);
}
lastReceived = now();
}
break;