Copter: remove meaningless check from motor_test

This commit is contained in:
Randy Mackay 2014-05-09 13:37:15 +09:00
parent 0c7a3f1ec5
commit e75d6a2da6
1 changed files with 1 additions and 1 deletions

View File

@ -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;