summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-25 00:03:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-25 00:03:57 +0000
commit3e9b52165e849be80de724bb1036cf48e0f12352 (patch)
tree563bb200c78817bc5e2a1d9a1df549ac188ccd3f /nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h
parented988b4591a6a6113556850a9027c7aa90f1d98b (diff)
downloadpx4-nuttx-3e9b52165e849be80de724bb1036cf48e0f12352.tar.gz
px4-nuttx-3e9b52165e849be80de724bb1036cf48e0f12352.tar.bz2
px4-nuttx-3e9b52165e849be80de724bb1036cf48e0f12352.zip
Add lpc313x header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2424 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h')
-rwxr-xr-xnuttx/arch/arm/src/lpc313x/lpc313x_pwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h b/nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h
index 94552d7c1..778b468b7 100755
--- a/nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h
+++ b/nuttx/arch/arm/src/lpc313x/lpc313x_pwm.h
@@ -67,7 +67,7 @@
/* Timer register TMR, address 0x13009000 */
#define PWM_TMR_SHIFT (0) /* Bits 0-11: Timer used for PWM and PDM */
-#define PWM_TMR_MASK (0xfff < PWM_TMR_SHIFT)
+#define PWM_TMR_MASK (0xfff << PWM_TMR_SHIFT)
/* Control register CNTL, address 0x13009004 */