From d7f4328441ddc0dcb2239d3efbb5af1000eb0de0 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Tue, 3 Jan 2012 10:25:44 -0800 Subject: [PATCH] cosmetic --- ArduCopter/radio.pde | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ArduCopter/radio.pde b/ArduCopter/radio.pde index 0612ebe43d..d29531bec5 100644 --- a/ArduCopter/radio.pde +++ b/ArduCopter/radio.pde @@ -31,7 +31,6 @@ static void init_rc_in() // reverse: CW = left // normal: CW = left??? - g.rc_1.set_type(RC_CHANNEL_ANGLE_RAW); g.rc_2.set_type(RC_CHANNEL_ANGLE_RAW); g.rc_4.set_type(RC_CHANNEL_ANGLE_RAW); @@ -43,13 +42,11 @@ static void init_rc_in() g.rc_4.dead_zone = 300; */ - //set auxiliary ranges g.rc_5.set_range(0,1000); g.rc_6.set_range(0,1000); g.rc_7.set_range(0,1000); g.rc_8.set_range(0,1000); - } static void init_rc_out() @@ -158,9 +155,7 @@ static void throttle_failsafe(uint16_t pwm) SendDebug("MSG FS ON "); SendDebugln(pwm, DEC); }else if(failsafeCounter == 10) { - //ch3_failsafe = true; set_failsafe(true); - //failsafeCounter = 10; }else if (failsafeCounter > 10){ failsafeCounter = 11; } @@ -176,9 +171,7 @@ static void throttle_failsafe(uint16_t pwm) SendDebug("MSG FS OFF "); SendDebugln(pwm, DEC); }else if(failsafeCounter == 0) { - //ch3_failsafe = false; set_failsafe(false); - //failsafeCounter = -1; }else if (failsafeCounter <0){ failsafeCounter = -1; }