pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl

this allows the safety switch on px4io to be forced off
This commit is contained in:
Andrew Tridgell
2014-04-28 11:45:45 +02:00
committed by Lorenz Meier
parent ac52111085
commit ab1939c6a3
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -736,6 +736,7 @@ PX4FMU::pwm_ioctl(file *filp, int cmd, unsigned long arg)
case PWM_SERVO_SET_ARM_OK:
case PWM_SERVO_CLEAR_ARM_OK:
case PWM_SERVO_SET_FORCE_SAFETY_OFF:
// these are no-ops, as no safety switch
break;