aboutsummaryrefslogtreecommitdiff
path: root/mcu/sys-stm32f103.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-06-30 16:23:29 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-06-30 16:23:29 +0900
commita2a29146a6d7327f8e159fedb6060b77cff46021 (patch)
tree7718a02b3ee9f8a9c8407374f90fecd8839c8d9f /mcu/sys-stm32f103.c
parente7bd234a0daeff4c16ef80f1529aa1f9dd500697 (diff)
const pointer cleanup
Diffstat (limited to 'mcu/sys-stm32f103.c')
-rw-r--r--mcu/sys-stm32f103.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcu/sys-stm32f103.c b/mcu/sys-stm32f103.c
index dc1cfa1..05e1f2f 100644
--- a/mcu/sys-stm32f103.c
+++ b/mcu/sys-stm32f103.c
@@ -316,7 +316,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