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:
parent
b40b1dadff
commit
df2318a45d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue