Plane: prevent continually loading the mixer

This commit is contained in:
Andrew Tridgell 2016-06-06 15:12:23 +10:00
parent a06e46a84c
commit c54d553df1

View File

@ -393,8 +393,10 @@ failed:
if (old_state == AP_HAL::Util::SAFETY_ARMED) {
hal.rcout->force_safety_off();
}
// clear out the mixer CRC so that we will attempt to send it again
last_mixer_crc = -1;
if (!ret) {
// clear out the mixer CRC so that we will attempt to send it again
last_mixer_crc = -1;
}
return ret;
}