add compilation time exclusion for stm32f410
This commit is contained in:
parent
932b80ca8a
commit
1349dabe1a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue