summaryrefslogtreecommitdiff
path: root/rcc
diff options
context:
space:
mode:
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)