mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-24 07:42:29 +00:00
fix: STM32U5 RCC fields
This commit is contained in:
parent
555231aeb5
commit
e69be0a23b
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user