aboutsummaryrefslogtreecommitdiff
path: root/mcu/sys-mkl27z.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-06-30 16:16:39 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-06-30 16:16:39 +0900
commite7bd234a0daeff4c16ef80f1529aa1f9dd500697 (patch)
tree2430db3ff1a03eb62d61e0b64a99389e1a2c6a7d /mcu/sys-mkl27z.c
parentc71a24ddcb22b8ba5d1fb45d1393838d1110b1b5 (diff)
Update for MKL27Z
Diffstat (limited to 'mcu/sys-mkl27z.c')
-rw-r--r--mcu/sys-mkl27z.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcu/sys-mkl27z.c b/mcu/sys-mkl27z.c
index e44e0c2..84b38ab 100644
--- a/mcu/sys-mkl27z.c
+++ b/mcu/sys-mkl27z.c
@@ -118,7 +118,7 @@ struct FTFA {
/* Note: addressing (3,2,1,0). Use Bx macro. */
volatile uint8_t FPROT[4];
};
-static struct FTFA *const FTFA = (struct FTFA *const)0x40020000;
+static struct FTFA *const FTFA = (struct FTFA *)0x40020000;
#define FSTAT_CCIF 0x80
#define B3 0
@@ -297,7 +297,7 @@ crc32_init (unsigned int *p)
}
#ifdef ORIGINAL_IN_C
-const unsigned int *const crc32_table= (const unsigned int *const)0x00000500;
+const unsigned int *const crc32_table= (const unsigned int *)0x00000500;
#endif
void __attribute__ ((naked,section(".fixed_function.crc32_u8")))