Break not return thanks @FintasticMan
This commit is contained in:
parent
f1fc7ee659
commit
cd593c3862
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ void SystemTask::Work() {
|
||||||
} break;
|
} break;
|
||||||
case Messages::GoToSleep:
|
case Messages::GoToSleep:
|
||||||
if (doNotGoToSleep) {
|
if (doNotGoToSleep) {
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
isGoingToSleep = true;
|
isGoingToSleep = true;
|
||||||
NRF_LOG_INFO("[systemtask] Going to sleep");
|
NRF_LOG_INFO("[systemtask] Going to sleep");
|
||||||
|
|
Loading…
Reference in a new issue