aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rcc
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-07-16 20:14:47 +0200
committerDario Nieuwenhuis <[email protected]>2025-07-16 22:08:50 +0200
commitc78dfa7e31e0808d413ad37de8d966cffe4a8fdd (patch)
tree4210646e4cf9db2d4af168d5e5db0d81bc7f23f5 /embassy-stm32/src/rcc
parent6fb85826e86937ca2de6dab6346803abc81ccb04 (diff)
stm32: fix stm32g0b0 build.
It has USB but not HSI48 which would break things. Only g0x1 has HSI48.
Diffstat (limited to 'embassy-stm32/src/rcc')
-rw-r--r--embassy-stm32/src/rcc/mco.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/rcc/mco.rs b/embassy-stm32/src/rcc/mco.rs
index c50e071fb..0371b9141 100644
--- a/embassy-stm32/src/rcc/mco.rs
+++ b/embassy-stm32/src/rcc/mco.rs
@@ -74,7 +74,7 @@ macro_rules! impl_peri {
74 }; 74 };
75} 75}
76 76
77#[cfg(any(rcc_c0, rcc_g0, rcc_u0))] 77#[cfg(any(rcc_c0, rcc_g0x0, rcc_g0x1, rcc_u0))]
78#[allow(unused_imports)] 78#[allow(unused_imports)]
79use self::{McoSource as Mco1Source, McoSource as Mco2Source}; 79use self::{McoSource as Mco1Source, McoSource as Mco2Source};
80 80