diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs index e3381d00..e92f833d 100644 --- a/embassy-stm32/src/rcc/h.rs +++ b/embassy-stm32/src/rcc/h.rs @@ -571,6 +571,8 @@ pub(crate) unsafe fn init(config: Config) { #[cfg(rcc_h5)] mux_pll3_r: pll3.r, + #[cfg(all(not(rcc_h5), stm32h5))] + mux_pll3_r: None, #[cfg(stm32h5)] mux_rcc_pclk3: None, #[cfg(stm32h5)]