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