diff options
author | Avamander <avamander@gmail.com> | 2020-10-04 16:24:52 +0300 |
---|---|---|
committer | Avamander <avamander@gmail.com> | 2020-10-09 11:36:16 +0300 |
commit | 189c5a83b2599dd843b06d2cccdc1f28a89d404f (patch) | |
tree | e80fbbc810219268853c30b52f15b4d906f57b5e /src | |
parent | f68c7b65b31f0bb7ff729740a29d5796b2c04f01 (diff) |
Made sure to unsuppress the diagnostic check after the infinite loop declaration
Diffstat (limited to 'src')
-rw-r--r-- | src/systemtask/SystemTask.cpp | 2 |
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() { |