summaryrefslogtreecommitdiff
path: root/rcc
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-09-15 23:14:07 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-09-15 23:14:07 +0200
commit9194e871a4590d1118f40ea8dbf1d34e45bc759c (patch)
tree4e014901f03defe35f4728846d54a9c6e56177b3 /rcc
parent4b04cfeddcc8c9ea6c41128a904005bd6220b2fb (diff)
platforms: Improve STM32F42x support.
Diffstat (limited to 'rcc')
-rw-r--r--rcc/flash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcc/flash.cpp b/rcc/flash.cpp
index c20b618..0f46cf0 100644
--- a/rcc/flash.cpp
+++ b/rcc/flash.cpp
@@ -9,9 +9,9 @@ void flash_init() {
#elif defined(STM32F4)
// Set flash latency.
- FLASH.ACR = 0x105;
+ FLASH.ACR = 0x107;
- while(FLASH.ACR != 0x105);
+ while(FLASH.ACR != 0x107);
#elif defined(STM32F0) || defined(STM32L0)