Actually allow full range in FMU driver

This commit is contained in:
Lorenz Meier 2013-10-31 08:23:32 +01:00
parent 1a09907d5b
commit 9820ed9de3
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ PX4FMU::pwm_ioctl(file *filp, int cmd, unsigned long arg)
/* FALLTHROUGH */
case PWM_SERVO_SET(1):
case PWM_SERVO_SET(0):
if (arg < 2100) {
if (arg <= 2100) {
up_pwm_servo_set(cmd - PWM_SERVO_SET(0), arg);
} else {
ret = -EINVAL;