Skip to content
Snippets Groups Projects
Commit 683f3a55 authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: re-enable CPU failsafe if arming fails

parent dc3509ef
No related branches found
No related tags found
No related merge requests found
...@@ -177,8 +177,9 @@ static bool init_arm_motors() ...@@ -177,8 +177,9 @@ static bool init_arm_motors()
if (((g.arming_check == ARMING_CHECK_ALL) || (g.arming_check & ARMING_CHECK_INS)) && !ins.gyro_calibrated_ok_all()) { if (((g.arming_check == ARMING_CHECK_ALL) || (g.arming_check & ARMING_CHECK_INS)) && !ins.gyro_calibrated_ok_all()) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("Arm: Gyro cal failed")); gcs_send_text_P(SEVERITY_HIGH,PSTR("Arm: Gyro cal failed"));
AP_Notify::flags.armed = false; AP_Notify::flags.armed = false;
failsafe_enable();
return false; return false;
} }
did_ground_start = true; did_ground_start = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment