Skip to content
Snippets Groups Projects
Commit 1b793bf3 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

RC_Channel: don't force radio_out in enable_aux_servos()

this is called regularly, and causes the servo to twitch
parent 4cfea44f
No related branches found
Tags 0.4.0rc4f
No related merge requests found
...@@ -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(); 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 // see if it is a valid function
if (function < RC_Channel_aux::k_nr_aux_servo_functions) { 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(); _aux_channels[i]->enable_out();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment