mirror of https://github.com/ArduPilot/ardupilot
AP_Arming: check health of all barometers
This commit is contained in:
parent
c716bfce88
commit
78c6287f95
|
@ -74,7 +74,7 @@ bool AP_Arming::barometer_checks(bool report)
|
|||
{
|
||||
if ((checks_to_perform & ARMING_CHECK_ALL) ||
|
||||
(checks_to_perform & ARMING_CHECK_BARO)) {
|
||||
if (!barometer.healthy()) {
|
||||
if (!barometer.all_healthy()) {
|
||||
if (report) {
|
||||
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_CRITICAL, PSTR("PreArm: Barometer not healthy"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue