diff options
author | Andrew Tridgell <tridge@samba.org> | 2014-10-09 15:35:18 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2014-10-30 08:44:00 +1100 |
commit | dd23d0acbcce9f4c79e120ec782a522164a25d83 (patch) | |
tree | ea8c19c5e8698f1b56a52d0f7cfae4ccca675012 /src/drivers/drv_pwm_output.h | |
parent | 2e33683630002aef5881734c96383685b7e8443f (diff) | |
download | px4-firmware-dd23d0acbcce9f4c79e120ec782a522164a25d83.tar.gz px4-firmware-dd23d0acbcce9f4c79e120ec782a522164a25d83.tar.bz2 px4-firmware-dd23d0acbcce9f4c79e120ec782a522164a25d83.zip |
drivers: allow forcing the safety switch on
This allows forcing the safety switch to the on position from software
which stops the pwm outputs
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
-rw-r--r-- | src/drivers/drv_pwm_output.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h index f66ec7c95..6873f24b6 100644 --- a/src/drivers/drv_pwm_output.h +++ b/src/drivers/drv_pwm_output.h @@ -213,6 +213,9 @@ ORB_DECLARE(output_pwm); /** make failsafe non-recoverable (termination) if it occurs */ #define PWM_SERVO_SET_TERMINATION_FAILSAFE _IOC(_PWM_SERVO_BASE, 25) +/** force safety switch on (to enable use of safety switch) */ +#define PWM_SERVO_SET_FORCE_SAFETY_ON _IOC(_PWM_SERVO_BASE, 26) + /* * * |