aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rcc
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/rcc
parent905bdfa7662c2ac5d2dfc81219c9704955473253 (diff)
low-power: stm32wl5x
Diffstat (limited to 'embassy-stm32/src/rcc')
-rw-r--r--embassy-stm32/src/rcc/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/mod.rs b/embassy-stm32/src/rcc/mod.rs
index 753ee1290..c0a50615e 100644
--- a/embassy-stm32/src/rcc/mod.rs
+++ b/embassy-stm32/src/rcc/mod.rs
@@ -313,7 +313,7 @@ impl RccInfo {
313 313
314 #[allow(dead_code)] 314 #[allow(dead_code)]
315 fn increment_minimum_stop_refcount_with_cs(&self, _cs: CriticalSection) { 315 fn increment_minimum_stop_refcount_with_cs(&self, _cs: CriticalSection) {
316 #[cfg(all(any(stm32wlex, stm32wb), feature = "low-power"))] 316 #[cfg(all(any(stm32wl, stm32wb), feature = "low-power"))]
317 match self.stop_mode { 317 match self.stop_mode {
318 StopMode::Stop1 | StopMode::Stop2 => increment_stop_refcount(_cs, StopMode::Stop2), 318 StopMode::Stop1 | StopMode::Stop2 => increment_stop_refcount(_cs, StopMode::Stop2),
319 _ => {} 319 _ => {}
@@ -334,7 +334,7 @@ impl RccInfo {
334 334
335 #[allow(dead_code)] 335 #[allow(dead_code)]
336 fn decrement_minimum_stop_refcount_with_cs(&self, _cs: CriticalSection) { 336 fn decrement_minimum_stop_refcount_with_cs(&self, _cs: CriticalSection) {
337 #[cfg(all(any(stm32wlex, stm32wb), feature = "low-power"))] 337 #[cfg(all(any(stm32wl, stm32wb), feature = "low-power"))]
338 match self.stop_mode { 338 match self.stop_mode {
339 StopMode::Stop1 | StopMode::Stop2 => decrement_stop_refcount(_cs, StopMode::Stop2), 339 StopMode::Stop1 | StopMode::Stop2 => decrement_stop_refcount(_cs, StopMode::Stop2),
340 _ => {} 340 _ => {}