aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rtc/low_power.rs
diff options
context:
space:
mode:
authorxoviat <[email protected]>2025-12-19 17:56:09 +0000
committerGitHub <[email protected]>2025-12-19 17:56:09 +0000
commitecb395e9334360994a9201c0ad3e7e921aa2d81a (patch)
tree77fe36797942a3f1bba868bb3fd7229077bef528 /embassy-stm32/src/rtc/low_power.rs
parent905bdfa7662c2ac5d2dfc81219c9704955473253 (diff)
parent941707372099ae5b82e8adf48ec4d0470a1642de (diff)
Merge pull request #5108 from liebman/low-power-stm32wl5x
low-power: stm32wl5x
Diffstat (limited to 'embassy-stm32/src/rtc/low_power.rs')
-rw-r--r--embassy-stm32/src/rtc/low_power.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rtc/low_power.rs b/embassy-stm32/src/rtc/low_power.rs
index cd5cea081..e15eddc22 100644
--- a/embassy-stm32/src/rtc/low_power.rs
+++ b/embassy-stm32/src/rtc/low_power.rs
@@ -114,11 +114,11 @@ impl Rtc {
114 use crate::pac::EXTI; 114 use crate::pac::EXTI;
115 EXTI.rtsr(0).modify(|w| w.set_line(RTC::EXTI_WAKEUP_LINE, true)); 115 EXTI.rtsr(0).modify(|w| w.set_line(RTC::EXTI_WAKEUP_LINE, true));
116 116
117 #[cfg(not(stm32wb))] 117 #[cfg(not(any(stm32wb, stm32wl5x)))]
118 { 118 {
119 EXTI.imr(0).modify(|w| w.set_line(RTC::EXTI_WAKEUP_LINE, true)); 119 EXTI.imr(0).modify(|w| w.set_line(RTC::EXTI_WAKEUP_LINE, true));
120 } 120 }
121 #[cfg(stm32wb)] 121 #[cfg(any(stm32wb, stm32wl5x))]
122 { 122 {
123 EXTI.cpu(0).imr(0).modify(|w| w.set_line(RTC::EXTI_WAKEUP_LINE, true)); 123 EXTI.cpu(0).imr(0).modify(|w| w.set_line(RTC::EXTI_WAKEUP_LINE, true));
124 } 124 }