summaryrefslogtreecommitdiff
path: root/src/systemtask
diff options
context:
space:
mode:
authorSamuel Archibald <samuel.archibald00@gmail.com>2020-11-19 15:50:39 -0500
committerSamuel Archibald <samuel.archibald00@gmail.com>2020-11-19 15:50:39 -0500
commite180ec5f3a45e5ad4774ca915c84dff481692206 (patch)
tree5907bef5267e3e184eb8f49869a29ba0cecaf7d6 /src/systemtask
parente18485c92bc4941eff38d61de52077c8d2aebeeb (diff)
Jeez this is what I get for rushing 😬
Diffstat (limited to 'src/systemtask')
-rw-r--r--src/systemtask/SystemTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 96ab7b73..3177bce5 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -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();
}