summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2020-10-04 16:24:52 +0300
committerAvamander <avamander@gmail.com>2020-10-09 11:36:16 +0300
commit189c5a83b2599dd843b06d2cccdc1f28a89d404f (patch)
treee80fbbc810219268853c30b52f15b4d906f57b5e /src/systemtask/SystemTask.cpp
parentf68c7b65b31f0bb7ff729740a29d5796b2c04f01 (diff)
Made sure to unsuppress the diagnostic check after the infinite loop declaration
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r--src/systemtask/SystemTask.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 01942daf..3efe21b8 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -194,6 +194,8 @@ void SystemTask::Work() {
if(!nrf_gpio_pin_read(pinButton))
watchdog.Kick();
}
+ // Clear diagnostic suppression
+ #pragma clang diagnostic pop
}
void SystemTask::OnButtonPushed() {