From e180ec5f3a45e5ad4774ca915c84dff481692206 Mon Sep 17 00:00:00 2001 From: Samuel Archibald Date: Thu, 19 Nov 2020 15:50:39 -0500 Subject: [PATCH] =?UTF-8?q?Jeez=20this=20is=20what=20I=20get=20for=20rushi?= =?UTF-8?q?ng=20=F0=9F=98=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/systemtask/SystemTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }