aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_pwm_output.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2014-03-25 11:54:37 +1100
committerLorenz Meier <lm@inf.ethz.ch>2014-04-28 11:45:45 +0200
commitab1939c6a30b6f4de06c83245c9f99ed350a4559 (patch)
treec54c13936b466ac2930771933b1a526f7f52759a /src/drivers/drv_pwm_output.h
parentac5211108532c0e5a5c0252c41e0f01777906afa (diff)
downloadpx4-firmware-ab1939c6a30b6f4de06c83245c9f99ed350a4559.tar.gz
px4-firmware-ab1939c6a30b6f4de06c83245c9f99ed350a4559.tar.bz2
px4-firmware-ab1939c6a30b6f4de06c83245c9f99ed350a4559.zip
pwm: added PWM_SERVO_SET_FORCE_SAFETY_OFF ioctl
this allows the safety switch on px4io to be forced off
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
-rw-r--r--src/drivers/drv_pwm_output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h
index 7a93e513e..972573f9f 100644
--- a/src/drivers/drv_pwm_output.h
+++ b/src/drivers/drv_pwm_output.h
@@ -199,6 +199,9 @@ ORB_DECLARE(output_pwm);
/** get the lockdown override flag to enable outputs in HIL */
#define PWM_SERVO_GET_DISABLE_LOCKDOWN _IOC(_PWM_SERVO_BASE, 22)
+/** force safety switch off (to disable use of safety switch) */
+#define PWM_SERVO_SET_FORCE_SAFETY_OFF _IOC(_PWM_SERVO_BASE, 23)
+
/*
*
*