mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-27 03:32:37 +03:00
Fixed unpopped diagnostic
This commit is contained in:
parent
6a442b90a1
commit
9db5d64441
@ -224,7 +224,6 @@ void SystemTask::Work() {
|
|||||||
xTimerStart(dimTimer, 0);
|
xTimerStart(dimTimer, 0);
|
||||||
xTimerStart(measureBatteryTimer, portMAX_DELAY);
|
xTimerStart(measureBatteryTimer, portMAX_DELAY);
|
||||||
|
|
||||||
// Suppress endless loop diagnostic
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "EndlessLoop"
|
#pragma ide diagnostic ignored "EndlessLoop"
|
||||||
while (true) {
|
while (true) {
|
||||||
@ -437,6 +436,7 @@ void SystemTask::Work() {
|
|||||||
watchdog.Kick();
|
watchdog.Kick();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma clang diagnostic pop
|
||||||
}
|
}
|
||||||
|
|
||||||
void SystemTask::UpdateMotion() {
|
void SystemTask::UpdateMotion() {
|
||||||
|
Loading…
Reference in New Issue
Block a user