mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 23:13:34 +08:00
BAT: Consolidate the highest feasible number of batteries into just 3
This commit is contained in:
committed by
Silvan Fuhrer
parent
f90d6c03fc
commit
d3acee315a
@@ -685,7 +685,7 @@ private:
|
||||
hrt_abstime _last_update_time{0};
|
||||
float _update_rate_filtered{0};
|
||||
|
||||
PerBatteryData _batteries[battery_status_s::MAX_INSTANCES] {0, 1, 2, 3};
|
||||
PerBatteryData _batteries[battery_status_s::MAX_INSTANCES] {0, 1, 2};
|
||||
};
|
||||
|
||||
#endif // HIGH_LATENCY2_HPP
|
||||
|
||||
Reference in New Issue
Block a user