Skip to content
Snippets Groups Projects
Commit 20936fb8 authored by rmackay9's avatar rmackay9
Browse files

RC_Channel_aux: bug fix which could cause channel to be assigned to the wrong...

RC_Channel_aux: bug fix which could cause channel to be assigned to the wrong function and miss others
parent 48bb6d04
No related branches found
No related tags found
No related merge requests found
......@@ -88,9 +88,9 @@ void update_aux_servo_function( RC_Channel_aux* rc_a,
if( rc_b != NULL ) { g_rc_function[aux_servo_function[1]] = rc_b; }
if( rc_c != NULL ) { g_rc_function[aux_servo_function[2]] = rc_c; }
if( rc_d != NULL ) { g_rc_function[aux_servo_function[3]] = rc_d; }
if( rc_e != NULL ) { g_rc_function[aux_servo_function[3]] = rc_e; }
if( rc_f != NULL ) { g_rc_function[aux_servo_function[3]] = rc_f; }
if( rc_g != NULL ) { g_rc_function[aux_servo_function[3]] = rc_g; }
if( rc_e != NULL ) { g_rc_function[aux_servo_function[4]] = rc_e; }
if( rc_f != NULL ) { g_rc_function[aux_servo_function[5]] = rc_f; }
if( rc_g != NULL ) { g_rc_function[aux_servo_function[6]] = rc_g; }
//set auxiliary ranges
G_RC_AUX(k_flap)->set_range(0,100);
......
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