From a63388874a15eb6d9358801499e9164f3068a830 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Mon, 7 Jun 2021 14:06:54 +0200 Subject: [PATCH] Update after name fix --- embassy-stm32/src/rcc/l0/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-stm32/src/rcc/l0/mod.rs b/embassy-stm32/src/rcc/l0/mod.rs index 1d920104f..ac32a6c4c 100644 --- a/embassy-stm32/src/rcc/l0/mod.rs +++ b/embassy-stm32/src/rcc/l0/mod.rs @@ -457,8 +457,8 @@ impl RccExt for RCC { rcc.cfgr().modify(|w| { w.set_sw(sw.into()); w.set_hpre(cfgr.ahb_pre.into()); - w.set_ppre(0, cfgr.apb1_pre.into()); - w.set_ppre(1, cfgr.apb2_pre.into()); + w.set_ppre1(cfgr.apb1_pre.into()); + w.set_ppre2(cfgr.apb2_pre.into()); }); }