parent
45d9bd5757
commit
4b31639dca
@ -229,6 +229,9 @@ pub(crate) unsafe fn init(config: Config) {
|
|||||||
Sysclk::HSI => unwrap!(hsi),
|
Sysclk::HSI => unwrap!(hsi),
|
||||||
Sysclk::HSE => unwrap!(hse),
|
Sysclk::HSE => unwrap!(hse),
|
||||||
Sysclk::PLL1_P => unwrap!(pll),
|
Sysclk::PLL1_P => unwrap!(pll),
|
||||||
|
#[cfg(crs)]
|
||||||
|
Sysclk::HSI48 => unwrap!(hsi48),
|
||||||
|
#[cfg(not(crs))]
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user