mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-27 03:32:37 +03:00
Break not return thanks @FintasticMan
This commit is contained in:
parent
f1fc7ee659
commit
cd593c3862
@ -281,7 +281,7 @@ void SystemTask::Work() {
|
||||
} break;
|
||||
case Messages::GoToSleep:
|
||||
if (doNotGoToSleep) {
|
||||
return;
|
||||
break;
|
||||
}
|
||||
isGoingToSleep = true;
|
||||
NRF_LOG_INFO("[systemtask] Going to sleep");
|
||||
|
Loading…
Reference in New Issue
Block a user