mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BattMonitor: report arming unhealthy if backend unhealthy
important for i2c based battery backends
This commit is contained in:
parent
1f4ebb49b5
commit
9a6fb19208
@ -184,6 +184,7 @@ bool AP_BattMonitor_Backend::arming_checks(char * buffer, size_t buflen) const
|
||||
result = result && update_check(buflen, buffer, critical_capacity, "critical capacity failsafe");
|
||||
result = result && update_check(buflen, buffer, fs_capacity_inversion, "capacity failsafe critical > low");
|
||||
result = result && update_check(buflen, buffer, fs_voltage_inversion, "voltage failsafe critical > low");
|
||||
result = result && update_check(buflen, buffer, !_state.healthy, "unhealthy");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user