mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Correct scale adjustment calculation for charger data.
This commit is contained in:
parent
6b6de6c925
commit
b41f62cd45
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ For example, assuming:
|
|||
|
||||
Then the updated `amperage_meter_scale` is:
|
||||
```
|
||||
amperage_meter_scale = old_amperage_meter_scale * (charging_data_mAh / reported_draw_mAh)
|
||||
amperage_meter_scale = old_amperage_meter_scale * (reported_draw_mAh / charging_data_mAh)
|
||||
= 400 * (1158 / 1260)
|
||||
= 368
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue