summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-12-06 17:15:03 (GMT)
committerJF <JF002@users.noreply.github.com>2021-12-09 20:30:04 (GMT)
commit9db5d64441562a61216fd9c62067f33b24df751f (patch)
tree8f82cb6acce190506aeae710f2b5b3d5f2112ded /src/systemtask/SystemTask.cpp
parent6a442b90a1d310d082e2626128d0f2bf8e932851 (diff)
Fixed unpopped diagnostic
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r--src/systemtask/SystemTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 24790a1..28f8124 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() {