summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-05-11 12:47:31 +0200
committerJakob Odersky <jodersky@gmail.com>2015-05-11 12:47:31 +0200
commit9c9892196b2498615dc1c537f047cc6e56653d4a (patch)
tree58f2939d93c2e93f298aba415f0f02fe64502446
parent0905d10055ec385dda3c562847108234cab52e4b (diff)
downloadpx4-nuttx-9c9892196b2498615dc1c537f047cc6e56653d4a.tar.gz
px4-nuttx-9c9892196b2498615dc1c537f047cc6e56653d4a.tar.bz2
px4-nuttx-9c9892196b2498615dc1c537f047cc6e56653d4a.zip
fix: missing parentheses in register definition)
-rw-r--r--nuttx/arch/arm/src/kinetis/kinetis_ftm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/kinetis/kinetis_ftm.h b/nuttx/arch/arm/src/kinetis/kinetis_ftm.h
index 6c192ad60..2f031b5dd 100644
--- a/nuttx/arch/arm/src/kinetis/kinetis_ftm.h
+++ b/nuttx/arch/arm/src/kinetis/kinetis_ftm.h
@@ -54,8 +54,8 @@
#define KINETIS_FTM_CNT_OFFSET 0x0004 /* Counter */
#define KINETIS_FTM_MOD_OFFSET 0x0008 /* Modulo */
-#define KINETIS_FTM_CSC_OFFSET(n) (0x000c+((n)<<3) /* Channel (n) Status and Control */
-#define KINETIS_FTM_CV_OFFSET(n) (0x0010+((n)<<3) /* Channel (n) Value */
+#define KINETIS_FTM_CSC_OFFSET(n) (0x000c+((n)<<3)) /* Channel (n) Status and Control */
+#define KINETIS_FTM_CV_OFFSET(n) (0x0010+((n)<<3)) /* Channel (n) Value */
#define KINETIS_FTM_C0SC_OFFSET 0x000c /* Channel 0 Status and Control */
#define KINETIS_FTM_C0V_OFFSET 0x0010 /* Channel 0 Value */
#define KINETIS_FTM_C1SC_OFFSET 0x0014 /* Channel 1 Status and Control */