diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-03 13:43:28 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-09 22:56:21 +0100 |
commit | 16fea51e00a9e0968b9f216770a5ce1c847d3f55 (patch) | |
tree | 0b9aba911c4ad103c7dba5203eb08bc696eb3206 /src/drivers/drv_pwm_output.h | |
parent | 4a8044f33845e2477169c2ba63bd63fce4f5668c (diff) | |
download | px4-firmware-16fea51e00a9e0968b9f216770a5ce1c847d3f55.tar.gz px4-firmware-16fea51e00a9e0968b9f216770a5ce1c847d3f55.tar.bz2 px4-firmware-16fea51e00a9e0968b9f216770a5ce1c847d3f55.zip |
Driver headers: Move to 0-based indices
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
-rw-r--r-- | src/drivers/drv_pwm_output.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h index b10c3e18a..743a4d5b3 100644 --- a/src/drivers/drv_pwm_output.h +++ b/src/drivers/drv_pwm_output.h @@ -57,7 +57,8 @@ __BEGIN_DECLS * PX4FMU with PX4IO connected) there may be other devices that * respond to this protocol. */ -#define PWM_OUTPUT_DEVICE_PATH "/dev/pwm_output" +#define PWM_OUTPUT_BASE_DEVICE_PATH "dev/pwm_output" +#define PWM_OUTPUT0_DEVICE_PATH "/dev/pwm_output0" /** * Maximum number of PWM output channels supported by the device. |