RC_Channel: added motor tilt auxillary channel

This commit is contained in:
Andrew Tridgell 2016-05-01 18:07:08 +10:00
parent 2d47ca8095
commit a41ffc176c
2 changed files with 5 additions and 0 deletions

View File

@ -114,6 +114,10 @@ void RC_Channel_aux::aux_servo_function_setup(void)
case RC_Channel_aux::k_flaperon2:
set_angle_out(4500);
break;
case RC_Channel_aux::k_motor_tilt:
// tenth percentage tilt
set_range_out(0,1000);
break;
default:
break;
}

View File

@ -74,6 +74,7 @@ public:
k_motor6 = 38,
k_motor7 = 39,
k_motor8 = 40,
k_motor_tilt = 41, ///< tiltrotor motor tilt control
k_rcin1 = 51, ///< these are for pass-thru from arbitrary rc inputs
k_rcin2 = 52,
k_rcin3 = 53,