From 4b3699f98528615baa8c41e9d845b2ad8c58be5a Mon Sep 17 00:00:00 2001 From: Dneault Date: Fri, 7 Feb 2014 11:57:56 +0900 Subject: [PATCH] Copter: coax allows ch5 and higher for do_set_servo cmd --- ArduCopter/motors.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index 83bcec6b2c..86351ecef9 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -553,10 +553,10 @@ static void servo_write(uint8_t ch, uint16_t pwm) { bool servo_ok = false; - #if (FRAME_CONFIG == QUAD_FRAME) + #if (FRAME_CONFIG == QUAD_FRAME || FRAME_CONFIG == COAX_FRAME) // Quads can use RC5 and higher as servos if (ch >= CH_5) servo_ok = true; - #elif (FRAME_CONFIG == TRI_FRAME || FRAME_CONFIG == SINGLE_FRAME || FRAME_CONFIG == COAX_FRAME ) + #elif (FRAME_CONFIG == TRI_FRAME || FRAME_CONFIG == SINGLE_FRAME) // Tri's and Singles can use RC5, RC6, RC8 and higher if (ch == CH_5 || ch == CH_6 || ch >= CH_8) servo_ok = true; #elif (FRAME_CONFIG == HEXA_FRAME || FRAME_CONFIG == Y6_FRAME)