aboutsummaryrefslogtreecommitdiff
path: root/mcu/sys-stm32f0.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcu/sys-stm32f0.c')
-rw-r--r--mcu/sys-stm32f0.c2
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