diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-30 10:00:01 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-30 10:00:01 +0100 |
commit | ff753b9e2417f4df5111743274db08c1fa99d020 (patch) | |
tree | 646255b40704641a72343b6758180a3d65921266 /src/drivers/drv_pwm_output.h | |
parent | 62076c0e81d505544ecddb05b039a4f010200480 (diff) | |
parent | 3b31a6b1b9756eb191eaaafb1c137e6874079281 (diff) | |
download | px4-firmware-ff753b9e2417f4df5111743274db08c1fa99d020.tar.gz px4-firmware-ff753b9e2417f4df5111743274db08c1fa99d020.tar.bz2 px4-firmware-ff753b9e2417f4df5111743274db08c1fa99d020.zip |
Merged master into lockdown_disable
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
-rw-r--r-- | src/drivers/drv_pwm_output.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h index 53065f8eb..c3eea310f 100644 --- a/src/drivers/drv_pwm_output.h +++ b/src/drivers/drv_pwm_output.h @@ -189,6 +189,10 @@ ORB_DECLARE(output_pwm); /** get the maximum PWM value the output will send */ #define PWM_SERVO_GET_MAX_PWM _IOC(_PWM_SERVO_BASE, 19) +/** set the number of servos in (unsigned)arg - allows change of + * split between servos and GPIO */ +#define PWM_SERVO_SET_COUNT _IOC(_PWM_SERVO_BASE, 20) + /** set the lockdown override flag to enable outputs in HIL */ #define PWM_SERVO_SET_DISABLE_LOCKDOWN _IOC(_PWM_SERVO_BASE, 21) |