diff options
author | Jean-François Milants <jf@codingfield.com> | 2021-09-18 17:37:48 +0200 |
---|---|---|
committer | Jean-François Milants <jf@codingfield.com> | 2021-09-18 17:37:48 +0200 |
commit | 5855906e49ce8bc4042e93817c6aba3a70fab089 (patch) | |
tree | d37d9c33b6233972596218cd4dc080d0d10a06c3 /src/systemtask/SystemTask.cpp | |
parent | 7af7db74cde6e8ab23e2e261049cf14396e1e682 (diff) | |
parent | f556003de39f88323434644ccf910f9863d854b9 (diff) |
Merge branch 'geekbozu-PersistantStorage' into develop
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r-- | src/systemtask/SystemTask.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index 24ee4bda..529d2863 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -376,6 +376,7 @@ 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)) watchdog.Kick(); } |