mirror of https://github.com/ArduPilot/ardupilot
Plane: Check all EKF cores for health
This commit is contained in:
parent
334b1622e1
commit
f5511d6119
|
@ -105,7 +105,7 @@ bool AP_Arming_Plane::ins_checks(bool display_failure)
|
|||
// additional plane specific checks
|
||||
if ((checks_to_perform & ARMING_CHECK_ALL) ||
|
||||
(checks_to_perform & ARMING_CHECK_INS)) {
|
||||
if (!AP::ahrs().healthy()) {
|
||||
if (!AP::ahrs().prearm_healthy()) {
|
||||
const char *reason = AP::ahrs().prearm_failure_reason();
|
||||
if (reason == nullptr) {
|
||||
reason = "AHRS not healthy";
|
||||
|
|
Loading…
Reference in New Issue