mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 09:00:36 +08:00
esc_battery: fix current reporting
This commit is contained in:
@@ -105,7 +105,6 @@ EscBattery::Run()
|
||||
}
|
||||
|
||||
average_voltage_v /= online_esc_count;
|
||||
total_current_a /= online_esc_count;
|
||||
average_temperature_c /= online_esc_count;
|
||||
|
||||
_battery.setConnected(true);
|
||||
|
||||
Reference in New Issue
Block a user