allow unused variable
This commit is contained in:
parent
986eca1b12
commit
7f00d7aa0c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue