From 87f469792a5e41cb415ce51dd6fa85908248b478 Mon Sep 17 00:00:00 2001 From: obe1line Date: Mon, 21 Jul 2025 13:37:48 +1000 Subject: Added rcc_c0v2 to fix undefined McoSource with STM32C071 --- embassy-stm32/src/rcc/mco.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/rcc/mco.rs b/embassy-stm32/src/rcc/mco.rs index 0371b9141..96e628b1a 100644 --- a/embassy-stm32/src/rcc/mco.rs +++ b/embassy-stm32/src/rcc/mco.rs @@ -74,7 +74,7 @@ macro_rules! impl_peri { }; } -#[cfg(any(rcc_c0, rcc_g0x0, rcc_g0x1, rcc_u0))] +#[cfg(any(rcc_c0, rcc_c0v2, rcc_g0x0, rcc_g0x1, rcc_u0))] #[allow(unused_imports)] use self::{McoSource as Mco1Source, McoSource as Mco2Source}; -- cgit