Plane: use force_safety_no_wait() when re-enabling safety off in mixer

This commit is contained in:
Andrew Tridgell 2016-08-11 14:11:03 +10:00
parent 31fb4cc427
commit b357a254f6

View File

@ -402,6 +402,7 @@ failed:
// restore safety state if it was previously armed
if (old_state == AP_HAL::Util::SAFETY_ARMED) {
hal.rcout->force_safety_off();
hal.rcout->force_safety_no_wait();
}
if (!ret) {
// clear out the mixer CRC so that we will attempt to send it again