stm32: fix build for h7ab

This commit is contained in:
Dario Nieuwenhuis
2022-02-24 05:59:42 +01:00
parent 1ff80f8438
commit ea5cd19c30
7 changed files with 38 additions and 25 deletions

View File

@@ -388,6 +388,6 @@ pub(crate) unsafe fn init() {
#[cfg(not(any(rcc_wb, rcc_wl5, rcc_f1)))]
<crate::peripherals::SYSCFG as crate::rcc::sealed::RccPeripheral>::enable();
#[cfg(rcc_f1)]
#[cfg(stm32f1)]
<crate::peripherals::AFIO as crate::rcc::sealed::RccPeripheral>::enable();
}