aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rtc/v3.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/v3.rs
parent905bdfa7662c2ac5d2dfc81219c9704955473253 (diff)
parent941707372099ae5b82e8adf48ec4d0470a1642de (diff)
Merge pull request #5108 from liebman/low-power-stm32wl5x
low-power: stm32wl5x
Diffstat (limited to 'embassy-stm32/src/rtc/v3.rs')
-rw-r--r--embassy-stm32/src/rtc/v3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rtc/v3.rs b/embassy-stm32/src/rtc/v3.rs
index f7ebea73e..49c9778df 100644
--- a/embassy-stm32/src/rtc/v3.rs
+++ b/embassy-stm32/src/rtc/v3.rs
@@ -131,7 +131,7 @@ impl SealedInstance for crate::peripherals::RTC {
131 131
132 #[cfg(feature = "low-power")] 132 #[cfg(feature = "low-power")]
133 cfg_if::cfg_if!( 133 cfg_if::cfg_if!(
134 if #[cfg(any(stm32g4, stm32wlex))] { 134 if #[cfg(any(stm32g4, stm32wl))] {
135 const EXTI_WAKEUP_LINE: usize = 20; 135 const EXTI_WAKEUP_LINE: usize = 20;
136 } else if #[cfg(stm32g0)] { 136 } else if #[cfg(stm32g0)] {
137 const EXTI_WAKEUP_LINE: usize = 19; 137 const EXTI_WAKEUP_LINE: usize = 19;
@@ -142,7 +142,7 @@ impl SealedInstance for crate::peripherals::RTC {
142 142
143 #[cfg(feature = "low-power")] 143 #[cfg(feature = "low-power")]
144 cfg_if::cfg_if!( 144 cfg_if::cfg_if!(
145 if #[cfg(any(stm32g4, stm32wlex))] { 145 if #[cfg(any(stm32g4, stm32wl))] {
146 type WakeupInterrupt = crate::interrupt::typelevel::RTC_WKUP; 146 type WakeupInterrupt = crate::interrupt::typelevel::RTC_WKUP;
147 } else if #[cfg(any(stm32g0, stm32u0))] { 147 } else if #[cfg(any(stm32g0, stm32u0))] {
148 type WakeupInterrupt = crate::interrupt::typelevel::RTC_TAMP; 148 type WakeupInterrupt = crate::interrupt::typelevel::RTC_TAMP;