summaryrefslogtreecommitdiff
path: root/rcc/flash.cpp
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-11-19 19:11:57 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-11-19 19:11:57 +0100
commitac17bb052b9056122dbae6867d4c5252c8eafb47 (patch)
tree147c586118903f9df3a4df98f880cc14045ad3f1 /rcc/flash.cpp
parent2abe655e4b7b49377c6cb43d6959c897866ed4c2 (diff)
Added support for F3.
Diffstat (limited to 'rcc/flash.cpp')
-rw-r--r--rcc/flash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcc/flash.cpp b/rcc/flash.cpp
index 2b0fb69..528ba57 100644
--- a/rcc/flash.cpp
+++ b/rcc/flash.cpp
@@ -1,7 +1,7 @@
#include "flash.h"
void flash_init() {
- #if defined(STM32F1)
+ #if defined(STM32F1) || defined(STM32F3)
// Set flash latency.
FLASH.ACR = 0x12;