Browse Source

AP_Arming: use accel_calibrated_ok_all

mission-4.1.18
Randy Mackay 10 years ago
parent
commit
e080b2acce
  1. 2
      libraries/AP_Arming/AP_Arming.cpp

2
libraries/AP_Arming/AP_Arming.cpp

@ -155,7 +155,7 @@ bool AP_Arming::ins_checks(bool report)
} }
return false; return false;
} }
if (!ins.calibrated()) { if (!ins.accel_calibrated_ok_all()) {
if (report) { if (report) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: 3D accel cal needed")); gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: 3D accel cal needed"));
} }

Loading…
Cancel
Save