summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-09-18 17:37:37 +0200
committerJean-François Milants <jf@codingfield.com>2021-09-18 17:37:37 +0200
commitf556003de39f88323434644ccf910f9863d854b9 (patch)
treed37d9c33b6233972596218cd4dc080d0d10a06c3 /src/systemtask/SystemTask.cpp
parent7af7db74cde6e8ab23e2e261049cf14396e1e682 (diff)
parent28fdc376b23ee2cd87a3ed8925b44a2f6e614ebf (diff)
Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime into geekbozu-PersistantStorage
# Conflicts: # src/systemtask/SystemTask.cpp
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r--src/systemtask/SystemTask.cpp1
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();
}