InfiniTime.git

commit 189c5a83b2599dd843b06d2cccdc1f28a89d404f

Author: Avamander <avamander@gmail.com>

Made sure to unsuppress the diagnostic check after the infinite loop declaration

 src/systemtask/SystemTask.cpp | 2 ++


diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 01942daf24fe6f2112beadd54185c356575ba1cc..3efe21b826c93f11899ae2e36fd1950f3f7091b0 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -194,6 +194,8 @@
     if(!nrf_gpio_pin_read(pinButton))
       watchdog.Kick();
   }
+  // Clear diagnostic suppression
+  #pragma clang diagnostic pop
 }
 
 void SystemTask::OnButtonPushed() {