From f57887ee4aa6bfd69b08c49b8627c2b1f40642e2 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Fri, 28 Jan 2011 05:36:33 +0000 Subject: [PATCH] adjust tri frame output to not output 4th motor git-svn-id: https://arducopter.googlecode.com/svn/trunk@1567 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/setup.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduCopterMega/setup.pde b/ArduCopterMega/setup.pde index 0124840c14..857231e103 100644 --- a/ArduCopterMega/setup.pde +++ b/ArduCopterMega/setup.pde @@ -293,7 +293,8 @@ setup_motors(uint8_t argc, const Menu::arg *argv) APM_RC.OutputCh(CH_1, rc_3.radio_in); APM_RC.OutputCh(CH_2, rc_3.radio_in); APM_RC.OutputCh(CH_3, rc_3.radio_in); - APM_RC.OutputCh(CH_4, rc_3.radio_in); + if(frame_type != TRI_FRAME) + APM_RC.OutputCh(CH_4, rc_3.radio_in); }else{ APM_RC.OutputCh(CH_1, motor_out[RIGHT]); APM_RC.OutputCh(CH_2, motor_out[LEFT]);