diff options
Diffstat (limited to 'embassy-stm32/src/rtc/low_power.rs')
| -rw-r--r-- | embassy-stm32/src/rtc/low_power.rs | 4 |
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 | } |
