From ffb00ce9318381534d4828186b8d098fe26d12aa Mon Sep 17 00:00:00 2001 From: Denis Chaplygin Date: Sat, 3 Oct 2020 23:28:58 +0300 Subject: [PATCH] Maximum frequency for stm32l0 increased to 32MHz --- src/rcc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcc.rs b/src/rcc.rs index 1c9c1208..7f708db4 100755 --- a/src/rcc.rs +++ b/src/rcc.rs @@ -304,7 +304,7 @@ impl RccExt for RCC { PLLDiv::Div3 => freq / 3, PLLDiv::Div4 => freq / 4, }; - assert!(freq <= 24.mhz().0); + assert!(freq <= 32.mhz().0); self.cfgr.write(move |w| unsafe { w.pllmul()