Browse Source

Plane: if setting a mixer fails then clear the last crc so that it will be attempted again

master
Michael du Breuil 9 years ago committed by Andrew Tridgell
parent
commit
7f73da535a
  1. 2
      ArduPlane/px4_mixer.cpp

2
ArduPlane/px4_mixer.cpp

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

Loading…
Cancel
Save