mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 09:43:57 -04:00
AP_Arming: use accel_calibrated_ok_all
This commit is contained in:
parent
0db25426c0
commit
e080b2acce
@ -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…
Reference in New Issue
Block a user