From 79f7c128bb43c9d4598a9d373dc570a04733e2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atle=20H=2E=20Havs=C3=B8?= Date: Thu, 24 Jul 2014 11:20:18 +0200 Subject: Changes needed for afro-card. --- rcc/rcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rcc/rcc.cpp') 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)); -- cgit v1.2.3