From e75d6a2da6cc400e203446edba96c22d069255ae Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 9 May 2014 13:37:15 +0900 Subject: [PATCH] Copter: remove meaningless check from motor_test --- ArduCopter/motor_test.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/motor_test.pde b/ArduCopter/motor_test.pde index 98d6397457..6d08339cda 100644 --- a/ArduCopter/motor_test.pde +++ b/ArduCopter/motor_test.pde @@ -36,7 +36,7 @@ static void motor_test_output() case MOTOR_TEST_THROTTLE_PERCENT: // sanity check motor_test_throttle value - if (motor_test_throttle_value >= 0 || motor_test_throttle_value <= 100) { + if (motor_test_throttle_value <= 100) { pwm = g.rc_3.radio_min + (g.rc_3.radio_max - g.rc_3.radio_min) * (float)motor_test_throttle_value/100.0f; } break;