Readability and fix
This commit is contained in:
parent
37c2768787
commit
681182d16a
|
@ -192,7 +192,8 @@ void SystemTask::Work() {
|
|||
}
|
||||
|
||||
monitor.Process();
|
||||
dateTimeController.UpdateTime(nrf_rtc_counter_get(portNRF_RTC_REG););
|
||||
uint32_t systick_counter = nrf_rtc_counter_get(portNRF_RTC_REG);
|
||||
dateTimeController.UpdateTime(nrf_rtc_counter_get(systick_counter);
|
||||
if(!nrf_gpio_pin_read(pinButton))
|
||||
watchdog.Kick();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user