From 70825e0e1c5a923fd1d99f5e9a7b0c530a421950 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Wed, 25 Jan 2012 22:41:09 -0800 Subject: [PATCH] ArduCopter Heli: add motors_output_enable function --- ArduCopter/heli.pde | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ArduCopter/heli.pde b/ArduCopter/heli.pde index 5b1a707b94..810d57e605 100644 --- a/ArduCopter/heli.pde +++ b/ArduCopter/heli.pde @@ -238,6 +238,18 @@ static void init_motors_out() #endif } +static void motors_output_enable() +{ + APM_RC.enable_out(CH_1); + APM_RC.enable_out(CH_2); + APM_RC.enable_out(CH_3); + APM_RC.enable_out(CH_4); + APM_RC.enable_out(CH_5); + APM_RC.enable_out(CH_6); + APM_RC.enable_out(CH_7); + APM_RC.enable_out(CH_8); +} + // these are not really motors, they're servos but we don't rename the function because it fits with the rest of the code better static void output_motors_armed() {