forked from Archive/PX4-Autopilot
Actually allow full range in FMU driver
This commit is contained in:
parent
1a09907d5b
commit
9820ed9de3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue