aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rtc/v3.rs
diff options
context:
space:
mode:
authorliebman <[email protected]>2025-12-18 15:04:45 -0800
committerliebman <[email protected]>2025-12-19 07:55:34 -0800
commit9008e4ca79a8cea093484f09d02c9ca67e7e2b1f (patch)
tree2ef61e05b4d687c8451253b930efae37c309e489 /embassy-stm32/src/rtc/v3.rs
parent905bdfa7662c2ac5d2dfc81219c9704955473253 (diff)
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;