aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/main.c')
-rw-r--r--src/stm32f1/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32f1/main.c b/src/stm32f1/main.c
index c6839c36..b91d4dd0 100644
--- a/src/stm32f1/main.c
+++ b/src/stm32f1/main.c
@@ -135,6 +135,8 @@ int
main(void)
{
SystemInit();
+ SCB->VTOR += CONFIG_FLASH_START;
+
LL_Init1msTick(SystemCoreClock);
clock_config();
adc_config();