summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/mcf5249.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/firmware/export/mcf5249.h b/firmware/export/mcf5249.h
index 154644647d..bde737f2c7 100644
--- a/firmware/export/mcf5249.h
+++ b/firmware/export/mcf5249.h
@@ -49,16 +49,16 @@
#define DMR0 (*(unsigned long *)(MBAR + 0x10c))
#define DACR1 (*(unsigned long *)(MBAR + 0x110))
#define DMR1 (*(unsigned long *)(MBAR + 0x114))
-#define TMR0 (*(unsigned long *)(MBAR + 0x140))
-#define TRR0 (*(unsigned long *)(MBAR + 0x144))
-#define TCR0 (*(unsigned long *)(MBAR + 0x148))
-#define TCN0 (*(unsigned long *)(MBAR + 0x14c))
-#define TER0 (*(unsigned long *)(MBAR + 0x150))
-#define TMR1 (*(unsigned long *)(MBAR + 0x180))
-#define TRR1 (*(unsigned long *)(MBAR + 0x184))
-#define TCR1 (*(unsigned long *)(MBAR + 0x188))
-#define TCN1 (*(unsigned long *)(MBAR + 0x18c))
-#define TER1 (*(unsigned long *)(MBAR + 0x190))
+#define TMR0 (*(unsigned short *)(MBAR + 0x140))
+#define TRR0 (*(unsigned short *)(MBAR + 0x144))
+#define TCR0 (*(unsigned short *)(MBAR + 0x148))
+#define TCN0 (*(unsigned short *)(MBAR + 0x14c))
+#define TER0 (*(unsigned short *)(MBAR + 0x150))
+#define TMR1 (*(unsigned short *)(MBAR + 0x180))
+#define TRR1 (*(unsigned short *)(MBAR + 0x184))
+#define TCR1 (*(unsigned short *)(MBAR + 0x188))
+#define TCN1 (*(unsigned short *)(MBAR + 0x18c))
+#define TER1 (*(unsigned short *)(MBAR + 0x190))
#define UMR10 (*(unsigned char *)(MBAR + 0x1c0))
#define UMR20 (*(unsigned char *)(MBAR + 0x1c0))