diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index 0c9c3e3996..a3fc0dc727 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -133,11 +133,13 @@ bool AP_Arming::airspeed_checks(bool report) // not an airspeed capable vehicle return true; } - if (airspeed->enabled() && airspeed->use() && !airspeed->healthy()) { - if (report) { - gcs().send_text(MAV_SEVERITY_CRITICAL, "PreArm: Airspeed not healthy"); + for (uint8_t i=0; ienabled(i) && airspeed->use(i) && !airspeed->healthy(i)) { + if (report) { + gcs().send_text(MAV_SEVERITY_CRITICAL, "PreArm: Airspeed[%u] not healthy", i); + } + return false; } - return false; } }