Browse Source

Plane: force the safety_state immediately because we want it to be in effect while we make mixer changes

mission-4.1.18
Tom Pittenger 9 years ago committed by Andrew Tridgell
parent
commit
e3930b45df
  1. 1
      ArduPlane/px4_mixer.cpp

1
ArduPlane/px4_mixer.cpp

@ -276,6 +276,7 @@ bool Plane::setup_failsafe_mixing(void) @@ -276,6 +276,7 @@ bool Plane::setup_failsafe_mixing(void)
// it twice as there have been reports that this call can fail
// with a small probability
hal.rcout->force_safety_on();
hal.rcout->force_safety_no_wait();
/* reset any existing mixer in px4io. This shouldn't be needed,
* but is good practice */

Loading…
Cancel
Save