diff options
| author | xoviat <[email protected]> | 2023-09-15 18:41:33 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-09-15 18:41:33 -0500 |
| commit | 6da75ea285482bd950b04ae00dde25303f160705 (patch) | |
| tree | 724ba3dced83647a94aee34f73ddb11bca90b6ae /embassy-stm32/src/exti.rs | |
| parent | 5a158b94bde3a5fee096be213d2afede06d9f019 (diff) | |
stm32: rtc/low-power cleanup
Diffstat (limited to 'embassy-stm32/src/exti.rs')
| -rw-r--r-- | embassy-stm32/src/exti.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embassy-stm32/src/exti.rs b/embassy-stm32/src/exti.rs index 925cf39be..bd4bab1f8 100644 --- a/embassy-stm32/src/exti.rs +++ b/embassy-stm32/src/exti.rs | |||
| @@ -39,6 +39,9 @@ fn exticr_regs() -> pac::afio::Afio { | |||
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | pub unsafe fn on_irq() { | 41 | pub unsafe fn on_irq() { |
| 42 | #[cfg(feature = "low-power")] | ||
| 43 | crate::low_power::on_wakeup_irq(); | ||
| 44 | |||
| 42 | #[cfg(not(any(exti_c0, exti_g0, exti_l5, exti_u5, exti_h5, exti_h50)))] | 45 | #[cfg(not(any(exti_c0, exti_g0, exti_l5, exti_u5, exti_h5, exti_h50)))] |
| 43 | let bits = EXTI.pr(0).read().0; | 46 | let bits = EXTI.pr(0).read().0; |
| 44 | #[cfg(any(exti_c0, exti_g0, exti_l5, exti_u5, exti_h5, exti_h50))] | 47 | #[cfg(any(exti_c0, exti_g0, exti_l5, exti_u5, exti_h5, exti_h50))] |
