diff --git a/embassy-stm32/src/rcc/mod.rs b/embassy-stm32/src/rcc/mod.rs index a70aa6f1..42f10f9c 100644 --- a/embassy-stm32/src/rcc/mod.rs +++ b/embassy-stm32/src/rcc/mod.rs @@ -152,14 +152,14 @@ pub struct Clocks { pub mux_pll1_q: Option, #[cfg(stm32h5)] pub mux_pll2_p: Option, - #[cfg(stm32h5)] + #[cfg(rcc_h5)] pub mux_pll3_p: Option, #[cfg(stm32h5)] pub mux_audioclk: Option, #[cfg(stm32h5)] pub mux_per: Option, - #[cfg(stm32h5)] + #[cfg(rcc_h5)] pub mux_pll3_r: Option, #[cfg(stm32h5)] pub mux_rcc_pclk3: Option,