mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
allow unused variable
This commit is contained in:
parent
986eca1b12
commit
7f00d7aa0c
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user