5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-10 01:48:29 -04:00

AP_AHRS: Enable pre-flight GPS check status reporting for EKF2

This commit is contained in:
Paul Riseborough 2015-10-30 15:00:22 +11:00 committed by Andrew Tridgell
parent b6d63d4b4e
commit 7ed36d8e65

View File

@ -721,8 +721,7 @@ const char *AP_AHRS_NavEKF::prearm_failure_reason(void) const
case 1:
return EKF1.prearm_failure_reason();
case 2:
// not implemented yet
return nullptr;
return EKF2.prearm_failure_reason();
}
return nullptr;
}