From 069749e49c87ec78df2c2a9c07f220746b6a72ee Mon Sep 17 00:00:00 2001 From: Robert Lefebvre Date: Mon, 26 Nov 2012 19:03:28 -0500 Subject: [PATCH] ACM: TradHeli Prevent helis from arming while RSC control is switched on. --- ArduCopter/motors.pde | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index 1d18483e46..c4bff8c332 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -20,6 +20,13 @@ static void arm_motors() arming_counter = 0; return; } + + #if FRAME_CONFIG == HELI_FRAME + if ((motors.rsc_mode > 0) && (g.rc_8.control_in >= 10)){ + arming_counter = 0; + return; + } + #endif // HELI_FRAME #if TOY_EDF == ENABLED int16_t tmp = g.rc_1.control_in;