Adjusting sleep semantics
This commit is contained in:
parent
aca524ec85
commit
a9d16a1632
@ -148,9 +148,7 @@ const APP: () = {
|
||||
.lock(|interface| interface.update().unwrap())
|
||||
{
|
||||
c.spawn.settings_update().unwrap()
|
||||
}
|
||||
|
||||
if sleep {
|
||||
} else if sleep {
|
||||
cortex_m::asm::wfi();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user