diff options
| author | xoviat <[email protected]> | 2025-12-06 15:24:30 -0600 |
|---|---|---|
| committer | xoviat <[email protected]> | 2025-12-06 15:24:30 -0600 |
| commit | 997ad131325a30f79ef5bf407200830ce488302e (patch) | |
| tree | 0858218bd4f09c492a62ba23b779bc9e7a37478f /embassy-stm32/src/timer | |
| parent | a30d207409f9b356c2b057e971f55f8b8057e4d1 (diff) | |
low-power: improve debug logic
Diffstat (limited to 'embassy-stm32/src/timer')
| -rw-r--r-- | embassy-stm32/src/timer/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/timer/mod.rs b/embassy-stm32/src/timer/mod.rs index 74d1c9e77..998e3a6f4 100644 --- a/embassy-stm32/src/timer/mod.rs +++ b/embassy-stm32/src/timer/mod.rs | |||
| @@ -406,7 +406,7 @@ pub struct UpdateInterruptHandler<T: CoreInstance> { | |||
| 406 | impl<T: CoreInstance> interrupt::typelevel::Handler<T::UpdateInterrupt> for UpdateInterruptHandler<T> { | 406 | impl<T: CoreInstance> interrupt::typelevel::Handler<T::UpdateInterrupt> for UpdateInterruptHandler<T> { |
| 407 | unsafe fn on_interrupt() { | 407 | unsafe fn on_interrupt() { |
| 408 | #[cfg(feature = "low-power")] | 408 | #[cfg(feature = "low-power")] |
| 409 | crate::low_power::Executor::on_wakeup_irq(); | 409 | crate::low_power::Executor::on_wakeup_irq_or_event(); |
| 410 | 410 | ||
| 411 | let regs = crate::pac::timer::TimCore::from_ptr(T::regs()); | 411 | let regs = crate::pac::timer::TimCore::from_ptr(T::regs()); |
| 412 | 412 | ||
| @@ -436,7 +436,7 @@ impl<T: GeneralInstance1Channel> interrupt::typelevel::Handler<T::CaptureCompare | |||
| 436 | { | 436 | { |
| 437 | unsafe fn on_interrupt() { | 437 | unsafe fn on_interrupt() { |
| 438 | #[cfg(feature = "low-power")] | 438 | #[cfg(feature = "low-power")] |
| 439 | crate::low_power::Executor::on_wakeup_irq(); | 439 | crate::low_power::Executor::on_wakeup_irq_or_event(); |
| 440 | 440 | ||
| 441 | let regs = crate::pac::timer::TimGp16::from_ptr(T::regs()); | 441 | let regs = crate::pac::timer::TimGp16::from_ptr(T::regs()); |
| 442 | 442 | ||
