summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */