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));
|
RCC.cr().modify(|w| w.set_pllon(true));
|
||||||
while !RCC.cr().read().pllrdy() {}
|
while !RCC.cr().read().pllrdy() {}
|
||||||
}
|
}
|
||||||
|
#[cfg(not(stm32f410))]
|
||||||
Mco2::PLLI2S => {
|
Mco2::PLLI2S => {
|
||||||
RCC.cr().modify(|w| w.set_plli2son(true));
|
RCC.cr().modify(|w| w.set_plli2son(true));
|
||||||
while !RCC.cr().read().plli2srdy() {}
|
while !RCC.cr().read().plli2srdy() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user