stm32: update metapac
This commit is contained in:
@ -169,14 +169,7 @@ pub(crate) unsafe fn init(config: Config) {
|
||||
#[cfg(not(rcc_f100))]
|
||||
w.set_usbpre(Usbpre::from_bits(usbpre as u8));
|
||||
w.set_sw(if pllmul_bits.is_some() {
|
||||
#[cfg(not(rcc_f1cl))]
|
||||
{
|
||||
Sw::PLL1_P
|
||||
}
|
||||
#[cfg(rcc_f1cl)]
|
||||
{
|
||||
Sw::PLL
|
||||
}
|
||||
Sw::PLL1_P
|
||||
} else if config.hse.is_some() {
|
||||
Sw::HSE
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user