diff options
-rw-r--r-- | src/systemcmds/pwm/pwm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemcmds/pwm/pwm.c b/src/systemcmds/pwm/pwm.c index 478c2a772..8643095f5 100644 --- a/src/systemcmds/pwm/pwm.c +++ b/src/systemcmds/pwm/pwm.c @@ -203,6 +203,9 @@ pwm_main(int argc, char *argv[]) if (fd < 0) err(1, "can't open %s", dev); + /* REMOVE safety switch requirement */ + ret = ioctl(fd, PWM_SERVO_SET_FORCE_SAFETY_OFF, set_mask); + /* get the number of servo channels */ unsigned servo_count; ret = ioctl(fd, PWM_SERVO_GET_COUNT, (unsigned long)&servo_count); |