Browse Source

RC_Channel: don't force radio_out in enable_aux_servos()

this is called regularly, and causes the servo to twitch
mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
7b4dc246f8
  1. 1
      libraries/RC_Channel/RC_Channel_aux.cpp

1
libraries/RC_Channel/RC_Channel_aux.cpp

@ -87,7 +87,6 @@ enable_aux_servos() @@ -87,7 +87,6 @@ enable_aux_servos()
RC_Channel_aux::Aux_servo_function_t function = (RC_Channel_aux::Aux_servo_function_t)_aux_channels[i]->function.get();
// see if it is a valid function
if (function < RC_Channel_aux::k_nr_aux_servo_functions) {
_aux_channels[i]->radio_out = _aux_channels[i]->radio_trim;
_aux_channels[i]->enable_out();
}
}

Loading…
Cancel
Save