aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/drv_pwm_output.h
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-12-18 00:27:12 -0800
committerpx4dev <px4@purgatory.org>2012-12-18 00:27:12 -0800
commit6d0bea0298100d4ecf6630c239aa549bb338cc7b (patch)
tree5e6772330da58ae858c9cbeae249f08f377d4eb5 /apps/drivers/drv_pwm_output.h
parentf40e4d13aa1c6cd854b848f1cd0c3a017e719138 (diff)
downloadpx4-firmware-6d0bea0298100d4ecf6630c239aa549bb338cc7b.tar.gz
px4-firmware-6d0bea0298100d4ecf6630c239aa549bb338cc7b.tar.bz2
px4-firmware-6d0bea0298100d4ecf6630c239aa549bb338cc7b.zip
Fix the PWM servo ioctl base so it's not overlapping the GPIOs
Diffstat (limited to 'apps/drivers/drv_pwm_output.h')
-rw-r--r--apps/drivers/drv_pwm_output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/drv_pwm_output.h b/apps/drivers/drv_pwm_output.h
index 97033f2cd..b2fee65ac 100644
--- a/apps/drivers/drv_pwm_output.h
+++ b/apps/drivers/drv_pwm_output.h
@@ -95,7 +95,7 @@ ORB_DECLARE(output_pwm);
* Note that ioctls and ObjDev updates should not be mixed, as the
* behaviour of the system in this case is not defined.
*/
-#define _PWM_SERVO_BASE 0x2700
+#define _PWM_SERVO_BASE 0x2a00
/** arm all servo outputs handle by this driver */
#define PWM_SERVO_ARM _IOC(_PWM_SERVO_BASE, 0)