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))
|
if(!nrf_gpio_pin_read(pinButton))
|
||||||
watchdog.Kick();
|
watchdog.Kick();
|
||||||
}
|
}
|
||||||
|
// Clear diagnostic suppression
|
||||||
|
#pragma clang diagnostic pop
|
||||||
}
|
}
|
||||||
|
|
||||||
void SystemTask::OnButtonPushed() {
|
void SystemTask::OnButtonPushed() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user