aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_pwm_output.h
diff options
context:
space:
mode:
authorHolger Steinhaus <holger@steinhaus-home.de>2014-08-26 14:34:14 +0200
committerHolger Steinhaus <holger@steinhaus-home.de>2014-08-26 14:38:32 +0200
commit87b2375be436aa92d361e0131be9ff63ae43fe36 (patch)
tree50821db5dfc64636a2b2916a7b1c6e667c7b8ab4 /src/drivers/drv_pwm_output.h
parent19fa79dcb1b3b34176341b3edb7187b6bb117aff (diff)
downloadpx4-firmware-87b2375be436aa92d361e0131be9ff63ae43fe36.tar.gz
px4-firmware-87b2375be436aa92d361e0131be9ff63ae43fe36.tar.bz2
px4-firmware-87b2375be436aa92d361e0131be9ff63ae43fe36.zip
Ignore single channels during PWM output
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
-rw-r--r--src/drivers/drv_pwm_output.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h
index 84815fdfb..5aff6825b 100644
--- a/src/drivers/drv_pwm_output.h
+++ b/src/drivers/drv_pwm_output.h
@@ -95,6 +95,11 @@ __BEGIN_DECLS
#define PWM_LOWEST_MAX 1700
/**
+ * Do not output a channel with this value
+ */
+#define PWM_IGNORE_THIS_CHANNEL UINT16_MAX
+
+/**
* Servo output signal type, value is actual servo output pulse
* width in microseconds.
*/