diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-06-30 16:23:29 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-06-30 16:23:29 +0900 |
commit | a2a29146a6d7327f8e159fedb6060b77cff46021 (patch) | |
tree | 7718a02b3ee9f8a9c8407374f90fecd8839c8d9f /mcu/sys-stm32f0.c | |
parent | e7bd234a0daeff4c16ef80f1529aa1f9dd500697 (diff) |
const pointer cleanup
Diffstat (limited to 'mcu/sys-stm32f0.c')
-rw-r--r-- | mcu/sys-stm32f0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcu/sys-stm32f0.c b/mcu/sys-stm32f0.c index f811b97..f7db06c 100644 --- a/mcu/sys-stm32f0.c +++ b/mcu/sys-stm32f0.c @@ -323,7 +323,7 @@ struct SCB #define SCS_BASE (0xE000E000) #define SCB_BASE (SCS_BASE + 0x0D00) -static struct SCB *const SCB = ((struct SCB *const) SCB_BASE); +static struct SCB *const SCB = (struct SCB *)SCB_BASE; #define SYSRESETREQ 0x04 static void |