summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2019-12-21 21:31:06 (GMT)
committerJF <jf@codingfield.com>2019-12-21 21:31:06 (GMT)
commit981dc3fce1c63e79687307cbe5019c9116f7ab2d (patch)
tree5df38dc7de996d1e2e518a5ea0064af07a9cec7c /src/main.cpp
parentecf307c559624fe82218e3acfc429d549f331075 (diff)
Track the time using RTC
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0e12740..ae75c89 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -682,8 +682,8 @@ static void current_time_print(ble_cts_c_evt_t * p_evt)
NRF_LOG_INFO("\tManual update %x",
p_evt->params.current_time.adjust_reason.manual_time_update);
- displayApp.Minutes(p_evt->params.current_time.exact_time_256.day_date_time.date_time.minutes);
- displayApp.Hours(p_evt->params.current_time.exact_time_256.day_date_time.date_time.hours);
+ displayApp.SetTime(p_evt->params.current_time.exact_time_256.day_date_time.date_time.minutes,
+ p_evt->params.current_time.exact_time_256.day_date_time.date_time.hours);
}