RC_Channel: make flaperson range from -4500 to 4500

This commit is contained in:
Andrew Tridgell 2014-11-14 11:23:52 +11:00
parent 14c77adca9
commit 2270a904ce

View File

@ -94,8 +94,6 @@ void RC_Channel_aux::update_aux_servo_function(void)
switch (function) {
case RC_Channel_aux::k_flap:
case RC_Channel_aux::k_flap_auto:
case RC_Channel_aux::k_flaperon1:
case RC_Channel_aux::k_flaperon2:
case RC_Channel_aux::k_egg_drop:
_aux_channels[i]->set_range(0,100);
break;
@ -107,6 +105,8 @@ void RC_Channel_aux::update_aux_servo_function(void)
case RC_Channel_aux::k_dspoiler2:
case RC_Channel_aux::k_rudder:
case RC_Channel_aux::k_steering:
case RC_Channel_aux::k_flaperon1:
case RC_Channel_aux::k_flaperon2:
_aux_channels[i]->set_angle(4500);
break;
default: