Made sure to unsuppress the diagnostic check after the infinite loop declaration
This commit is contained in:
parent
f68c7b65b3
commit
189c5a83b2
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue