Update after name fix

This commit is contained in:
Ulf Lilleengen 2021-06-07 14:06:54 +02:00
parent f24c38f2a4
commit a63388874a

View File

@ -457,8 +457,8 @@ impl RccExt for RCC {
rcc.cfgr().modify(|w| { rcc.cfgr().modify(|w| {
w.set_sw(sw.into()); w.set_sw(sw.into());
w.set_hpre(cfgr.ahb_pre.into()); w.set_hpre(cfgr.ahb_pre.into());
w.set_ppre(0, cfgr.apb1_pre.into()); w.set_ppre1(cfgr.apb1_pre.into());
w.set_ppre(1, cfgr.apb2_pre.into()); w.set_ppre2(cfgr.apb2_pre.into());
}); });
} }