aboutsummaryrefslogtreecommitdiff
path: root/mcu/sys-stm32f103.c
diff options
context:
space:
mode:
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