stm32: update metapac and remove sbs

This commit is contained in:
xoviat
2023-09-28 19:21:02 -05:00
parent d6654bf8b5
commit 39f1b26a39
3 changed files with 5 additions and 7 deletions

View File

@ -181,10 +181,8 @@ pub fn init(config: Config) -> Peripherals {
});
}
#[cfg(not(any(stm32f1, stm32h5, stm32wb, stm32wl)))]
#[cfg(not(any(stm32f1, stm32wb, stm32wl)))]
peripherals::SYSCFG::enable();
#[cfg(sbs)]
peripherals::SBS::enable();
#[cfg(not(any(stm32h5, stm32h7, stm32wb, stm32wl)))]
peripherals::PWR::enable();
#[cfg(not(any(stm32f2, stm32f4, stm32f7, stm32l0, stm32h5, stm32h7)))]