mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-26 00:32:33 +00:00
add compilation time exclusion for stm32f410
This commit is contained in:
parent
932b80ca8a
commit
1349dabe1a
@ -228,6 +228,7 @@ impl sealed::McoInstance for peripherals::MCO2 {
|
||||
RCC.cr().modify(|w| w.set_pllon(true));
|
||||
while !RCC.cr().read().pllrdy() {}
|
||||
}
|
||||
#[cfg(not(stm32f410))]
|
||||
Mco2::PLLI2S => {
|
||||
RCC.cr().modify(|w| w.set_plli2son(true));
|
||||
while !RCC.cr().read().plli2srdy() {}
|
||||
|
Loading…
Reference in New Issue
Block a user