mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-11-23 20:56:27 +03:00
Whoops! Don't look at this XD
This commit is contained in:
parent
681182d16a
commit
e18485c92b
@ -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(nrf_rtc_counter_get(systick_counter));
|
||||
if(!nrf_gpio_pin_read(pinButton))
|
||||
watchdog.Kick();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user