diff options
author | Avamander <avamander@gmail.com> | 2021-12-06 19:15:03 +0200 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2021-12-09 21:30:04 +0100 |
commit | 9db5d64441562a61216fd9c62067f33b24df751f (patch) | |
tree | 8f82cb6acce190506aeae710f2b5b3d5f2112ded /src/systemtask | |
parent | 6a442b90a1d310d082e2626128d0f2bf8e932851 (diff) |
Fixed unpopped diagnostic
Diffstat (limited to 'src/systemtask')
-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 24790a1d..28f81243 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -224,7 +224,6 @@ void SystemTask::Work() { xTimerStart(dimTimer, 0); xTimerStart(measureBatteryTimer, portMAX_DELAY); -// Suppress endless loop diagnostic #pragma clang diagnostic push #pragma ide diagnostic ignored "EndlessLoop" while (true) { @@ -437,6 +436,7 @@ void SystemTask::Work() { watchdog.Kick(); } } +#pragma clang diagnostic pop } void SystemTask::UpdateMotion() { |