aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/i2c
diff options
context:
space:
mode:
authorxoviat <[email protected]>2025-12-06 15:24:30 -0600
committerxoviat <[email protected]>2025-12-06 15:24:30 -0600
commit997ad131325a30f79ef5bf407200830ce488302e (patch)
tree0858218bd4f09c492a62ba23b779bc9e7a37478f /embassy-stm32/src/i2c
parenta30d207409f9b356c2b057e971f55f8b8057e4d1 (diff)
low-power: improve debug logic
Diffstat (limited to 'embassy-stm32/src/i2c')
-rw-r--r--embassy-stm32/src/i2c/v2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs
index 6b213484c..7ad9978b1 100644
--- a/embassy-stm32/src/i2c/v2.rs
+++ b/embassy-stm32/src/i2c/v2.rs
@@ -73,7 +73,7 @@ pub(crate) unsafe fn on_interrupt<T: Instance>() {
73 // restore the clocks to their last configured state as 73 // restore the clocks to their last configured state as
74 // much is lost in STOP modes 74 // much is lost in STOP modes
75 #[cfg(all(feature = "low-power", stm32wlex))] 75 #[cfg(all(feature = "low-power", stm32wlex))]
76 crate::low_power::Executor::on_wakeup_irq(); 76 crate::low_power::Executor::on_wakeup_irq_or_event();
77 77
78 let regs = T::info().regs; 78 let regs = T::info().regs;
79 let isr = regs.isr().read(); 79 let isr = regs.isr().read();