aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_pwm_output.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-18 11:19:05 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-18 11:19:05 +0200
commit903b482378516f26ef0faa4d658597e0af2fb35d (patch)
tree85c1b0eae57a22b97380ebd45468ae061db9bc0d /src/drivers/drv_pwm_output.h
parent9a53fd96482bd31da98af97de5cde88127d6c7f9 (diff)
downloadpx4-firmware-903b482378516f26ef0faa4d658597e0af2fb35d.tar.gz
px4-firmware-903b482378516f26ef0faa4d658597e0af2fb35d.tar.bz2
px4-firmware-903b482378516f26ef0faa4d658597e0af2fb35d.zip
PX4IO driver: Add support to set force failsafe
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 972573f9f..84815fdfb 100644
--- a/src/drivers/drv_pwm_output.h
+++ b/src/drivers/drv_pwm_output.h
@@ -202,6 +202,9 @@ ORB_DECLARE(output_pwm);
/** force safety switch off (to disable use of safety switch) */
#define PWM_SERVO_SET_FORCE_SAFETY_OFF _IOC(_PWM_SERVO_BASE, 23)
+/** force failsafe mode (failsafe values are set immediately even if failsafe condition not met) */
+#define PWM_SERVO_SET_FORCE_FAILSAFE _IOC(_PWM_SERVO_BASE, 24)
+
/*
*
*