mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
RC_Channel: make flaperson range from -4500 to 4500
This commit is contained in:
parent
14c77adca9
commit
2270a904ce
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user