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

This commit is contained in:
Avamander 2020-10-04 16:24:52 +03:00
parent f68c7b65b3
commit 189c5a83b2

View File

@ -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() {