diff options
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 62f321709..538791a51 100644 --- a/embassy-stm32/src/exti.rs +++ b/embassy-stm32/src/exti.rs | |||
| @@ -367,7 +367,7 @@ macro_rules! enable_irq { | |||
| 367 | } | 367 | } |
| 368 | 368 | ||
| 369 | /// safety: must be called only once | 369 | /// safety: must be called only once |
| 370 | pub(crate) unsafe fn init() { | 370 | pub(crate) unsafe fn init(_cs: critical_section::CriticalSection) { |
| 371 | use crate::interrupt::typelevel::Interrupt; | 371 | use crate::interrupt::typelevel::Interrupt; |
| 372 | 372 | ||
| 373 | foreach_exti_irq!(enable_irq); | 373 | foreach_exti_irq!(enable_irq); |
