fix: STM32U5 RCC fields

This commit is contained in:
elagil 2024-11-06 19:46:55 +01:00
parent 555231aeb5
commit e69be0a23b

View File

@ -279,8 +279,10 @@ pub(crate) unsafe fn init(config: Config) {
hsi48: hsi48, hsi48: hsi48,
rtc: rtc, rtc: rtc,
hse: hse, hse: hse,
hse_div_2: hse.map(|clk| clk / 2u32),
hsi: hsi, hsi: hsi,
pll1_p: pll1.p, pll1_p: pll1.p,
pll1_p_div_2: pll1.p.map(|clk| clk / 2u32),
pll1_q: pll1.q, pll1_q: pll1.q,
pll1_r: pll1.r, pll1_r: pll1.r,
pll2_p: pll2.p, pll2_p: pll2.p,