mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-24 18:22:19 +03:00
Jeez this is what I get for rushing 😬
This commit is contained in:
parent
e18485c92b
commit
e180ec5f3a
@ -193,7 +193,7 @@ void SystemTask::Work() {
|
||||
|
||||
monitor.Process();
|
||||
uint32_t systick_counter = nrf_rtc_counter_get(portNRF_RTC_REG);
|
||||
dateTimeController.UpdateTime(nrf_rtc_counter_get(systick_counter));
|
||||
dateTimeController.UpdateTime(systick_counter);
|
||||
if(!nrf_gpio_pin_read(pinButton))
|
||||
watchdog.Kick();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user