stm32: Fix stm32f107 build.

This commit is contained in:
Dario Nieuwenhuis
2022-05-08 21:37:37 +02:00
parent a4bf190f2f
commit 96d0eb9476
4 changed files with 6 additions and 5 deletions

View File

@ -371,7 +371,7 @@ pub(crate) unsafe fn init() {
foreach_exti_irq!(enable_irq);
#[cfg(not(any(rcc_wb, rcc_wl5, rcc_wle, rcc_f1)))]
#[cfg(not(any(rcc_wb, rcc_wl5, rcc_wle, stm32f1)))]
<crate::peripherals::SYSCFG as crate::rcc::sealed::RccPeripheral>::enable();
#[cfg(stm32f1)]
<crate::peripherals::AFIO as crate::rcc::sealed::RccPeripheral>::enable();