mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_Arming: use AP_BATT_MONITOR_MAX_INSTANCES instead of fixed array size
This commit is contained in:
parent
5872512d85
commit
425c9bcd0b
@ -72,7 +72,7 @@ protected:
|
||||
AP_Int8 rudder_arming_value;
|
||||
AP_Int16 checks_to_perform; // bitmask for which checks are required
|
||||
AP_Float accel_error_threshold;
|
||||
AP_Float _min_voltage[2];
|
||||
AP_Float _min_voltage[AP_BATT_MONITOR_MAX_INSTANCES];
|
||||
|
||||
// references
|
||||
const AP_AHRS &ahrs;
|
||||
|
Loading…
Reference in New Issue
Block a user