diff --git a/embassy-stm32/src/low_power.rs b/embassy-stm32/src/low_power.rs index c5c5dd96f..4c3d288fd 100644 --- a/embassy-stm32/src/low_power.rs +++ b/embassy-stm32/src/low_power.rs @@ -179,6 +179,7 @@ impl Executor { } } + #[allow(unused_variables)] fn configure_stop(&mut self, stop_mode: StopMode) { #[cfg(stm32l5)] crate::pac::PWR.cr1().modify(|m| m.set_lpms(stop_mode.into()));