summaryrefslogtreecommitdiff
path: root/rcc/rcc.cpp
diff options
context:
space:
mode:
authorAtle H. Havsø <atle@havso.net>2014-07-24 11:20:18 +0200
committerAtle H. Havsø <atle@havso.net>2014-07-24 11:20:18 +0200
commit79f7c128bb43c9d4598a9d373dc570a04733e2b1 (patch)
tree982d1182b15d031cfd7c2897c4e9613e201e740e /rcc/rcc.cpp
parentfab8321b68896a8a9ff085586652ed4d834ba173 (diff)
Changes needed for afro-card.temp_suzumebachi
Diffstat (limited to 'rcc/rcc.cpp')
-rw-r--r--rcc/rcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcc/rcc.cpp b/rcc/rcc.cpp
index 7e711f9..c5eab44 100644
--- a/rcc/rcc.cpp
+++ b/rcc/rcc.cpp
@@ -12,7 +12,7 @@ void rcc_init() {
while(!(RCC.CR & 0x20000));
// Configure and enable PLL.
- RCC.CFGR = 0x1d0000;
+ RCC.CFGR = (4 << 18) | (1 << 16); // PLLMUL = x6, PLLSRC = HSE
RCC.CR |= 0x1000000;
while(!(RCC.CR & 0x2000000));