Continuous time updates
This commit is contained in:
parent
9e406c70f9
commit
a449b272f7
6 changed files with 43 additions and 26 deletions
|
|
@ -410,8 +410,6 @@ void SystemTask::Work() {
|
|||
}
|
||||
|
||||
monitor.Process();
|
||||
uint32_t systick_counter = nrf_rtc_counter_get(portNRF_RTC_REG);
|
||||
dateTimeController.UpdateTime(systick_counter);
|
||||
NoInit_BackUpTime = dateTimeController.CurrentDateTime();
|
||||
if (nrf_gpio_pin_read(PinMap::Button) == 0) {
|
||||
watchdog.Reload();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue