Break not return thanks @FintasticMan

This commit is contained in:
Tim Keller 2021-11-15 15:27:36 +00:00 committed by JF
parent f1fc7ee659
commit cd593c3862

View File

@ -281,7 +281,7 @@ void SystemTask::Work() {
} break;
case Messages::GoToSleep:
if (doNotGoToSleep) {
return;
break;
}
isGoingToSleep = true;
NRF_LOG_INFO("[systemtask] Going to sleep");