From 9b594dc5e167d0209fbd16fc6d3d574aba4a11ca Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 7 Feb 2014 22:02:31 +0900 Subject: [PATCH] Copter: disable aux channel ch7 for Tri --- libraries/AP_Motors/AP_MotorsTri.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Motors/AP_MotorsTri.cpp b/libraries/AP_Motors/AP_MotorsTri.cpp index fbb86e28a7..4b60fc6f46 100644 --- a/libraries/AP_Motors/AP_MotorsTri.cpp +++ b/libraries/AP_Motors/AP_MotorsTri.cpp @@ -38,6 +38,9 @@ void AP_MotorsTri::Init() motor_enabled[AP_MOTORS_MOT_1] = true; motor_enabled[AP_MOTORS_MOT_2] = true; motor_enabled[AP_MOTORS_MOT_4] = true; + + // disable CH7 from being used as an aux output (i.e. for camera gimbal, etc) + RC_Channel_aux::disable_aux_channel(AP_MOTORS_CH_TRI_YAW); } // set update rate to motors - a value in hertz