From 5298671b0c132f58f3f76273bcd35656dc6e6d3d Mon Sep 17 00:00:00 2001 From: xoviat Date: Tue, 25 Nov 2025 11:57:59 -0600 Subject: fmt --- embassy-stm32/src/rcc/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/embassy-stm32/src/rcc/mod.rs b/embassy-stm32/src/rcc/mod.rs index f38d9078d..b6ecc6c18 100644 --- a/embassy-stm32/src/rcc/mod.rs +++ b/embassy-stm32/src/rcc/mod.rs @@ -302,6 +302,7 @@ impl RccInfo { increment_stop_refcount(_cs, self.stop_mode); } + #[allow(dead_code)] pub(crate) fn increment_stop_refcount(&self) { critical_section::with(|cs| self.increment_stop_refcount_with_cs(cs)) } @@ -311,6 +312,7 @@ impl RccInfo { decrement_stop_refcount(_cs, self.stop_mode); } + #[allow(dead_code)] pub(crate) fn decrement_stop_refcount(&self) { critical_section::with(|cs| self.decrement_stop_refcount_with_cs(cs)) } @@ -323,6 +325,7 @@ impl RccInfo { }) } + #[allow(dead_code)] pub(crate) fn enable_and_reset_without_stop(&self) { critical_section::with(|cs| self.enable_and_reset_with_cs(cs)) } @@ -336,6 +339,7 @@ impl RccInfo { } // TODO: should this be `unsafe`? + #[allow(dead_code)] pub(crate) fn disable_without_stop(&self) { critical_section::with(|cs| self.disable_with_cs(cs)) } -- cgit