diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-05-08 21:37:37 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-05-08 21:37:37 +0200 |
| commit | 96d0eb94767cea6fbecc0c87d43a30d5b6d7e8e5 (patch) | |
| tree | fead03edcd5064d4a478eea9a2c62383bda3e03b /embassy-stm32/src/exti.rs | |
| parent | a4bf190f2f0ce28a298626de6de1c8059269cedc (diff) | |
stm32: Fix stm32f107 build.
Diffstat (limited to 'embassy-stm32/src/exti.rs')
| -rw-r--r-- | embassy-stm32/src/exti.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/exti.rs b/embassy-stm32/src/exti.rs index 957a1ca55..d065a5557 100644 --- a/embassy-stm32/src/exti.rs +++ b/embassy-stm32/src/exti.rs | |||
| @@ -371,7 +371,7 @@ pub(crate) unsafe fn init() { | |||
| 371 | 371 | ||
| 372 | foreach_exti_irq!(enable_irq); | 372 | foreach_exti_irq!(enable_irq); |
| 373 | 373 | ||
| 374 | #[cfg(not(any(rcc_wb, rcc_wl5, rcc_wle, rcc_f1)))] | 374 | #[cfg(not(any(rcc_wb, rcc_wl5, rcc_wle, stm32f1)))] |
| 375 | <crate::peripherals::SYSCFG as crate::rcc::sealed::RccPeripheral>::enable(); | 375 | <crate::peripherals::SYSCFG as crate::rcc::sealed::RccPeripheral>::enable(); |
| 376 | #[cfg(stm32f1)] | 376 | #[cfg(stm32f1)] |
| 377 | <crate::peripherals::AFIO as crate::rcc::sealed::RccPeripheral>::enable(); | 377 | <crate::peripherals::AFIO as crate::rcc::sealed::RccPeripheral>::enable(); |
