Adjusting sleep semantics

This commit is contained in:
Ryan Summers 2021-03-02 17:20:31 +01:00
parent aca524ec85
commit a9d16a1632
1 changed files with 1 additions and 3 deletions

View File

@ -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();
}
}