AP_Arming: require 3D accel cal always

This commit is contained in:
Andrew Tridgell 2015-03-11 10:16:20 +11:00
parent 786172aa4e
commit 4deb136bb0

View File

@ -153,9 +153,9 @@ bool AP_Arming::ins_checks(bool report)
} }
return false; return false;
} }
if (ahrs.have_inertial_nav() && !ins.calibrated()) { if (!ins.calibrated()) {
if (report) { if (report) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: EKF requires 3D accel cal")); gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: 3D accel cal needed"));
} }
return false; return false;
} }