From b3c683d1acba1bad40b084a513144ad97f115243 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sat, 22 Jan 2022 14:56:16 +0100 Subject: [PATCH] timekeeper.cpp: fix millis --- src/timekeeper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timekeeper.cpp b/src/timekeeper.cpp index 6cb55d76..a1ebda4b 100644 --- a/src/timekeeper.cpp +++ b/src/timekeeper.cpp @@ -40,7 +40,7 @@ Ticker timesyncer; void setTimeSyncIRQ() { xTaskNotify(irqHandlerTask, TIMESYNC_IRQ, eSetBits); } void calibrateTime(void) { - ESP_LOGD(TAG, "[%0.3f] calibrateTime, timeSource == %d", millis() / 1000.0, + ESP_LOGD(TAG, "[%0.3f] calibrateTime, timeSource == %d", _seconds(), timeSource); time_t t = 0; uint16_t t_msec = 0;