AP_Arming: check health of all barometers

This commit is contained in:
Randy Mackay 2015-10-12 17:21:11 +09:00
parent c716bfce88
commit 78c6287f95
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}