diff options
author | Tim Keller <geekboy1011@gmail.com> | 2021-11-15 15:27:36 +0000 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2021-12-09 21:15:00 +0100 |
commit | cd593c3862b1cb43865fb9075273dc97dfe5b7f1 (patch) | |
tree | c87309e48a3457827316a2cd67e7c0e1b02778ae /src | |
parent | f1fc7ee6593aa7dd2212ee362729b9cd06b054a9 (diff) |
Break not return thanks @FintasticMan
Diffstat (limited to 'src')
-rw-r--r-- | src/systemtask/SystemTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index 02440452..4076d57d 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -281,7 +281,7 @@ void SystemTask::Work() { } break; case Messages::GoToSleep: if (doNotGoToSleep) { - return; + break; } isGoingToSleep = true; NRF_LOG_INFO("[systemtask] Going to sleep"); |