mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44: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) {
|
fn configure_stop(&mut self, stop_mode: StopMode) {
|
||||||
#[cfg(stm32l5)]
|
#[cfg(stm32l5)]
|
||||||
crate::pac::PWR.cr1().modify(|m| m.set_lpms(stop_mode.into()));
|
crate::pac::PWR.cr1().modify(|m| m.set_lpms(stop_mode.into()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user