From 57042e943c33a1a7024b044eb9396b2b7a8b840d Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Sun, 24 Mar 2019 16:19:21 +0100 Subject: [PATCH] lorawan.cpp: set_rtctime call modified --- src/lorawan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 4b267800..ba03f5f5 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -503,7 +503,7 @@ void user_request_network_time_callback(void *pVoidUserUTCTime, if (timeIsValid(*pUserUTCTime)) { setTime(*pUserUTCTime); #ifdef HAS_RTC - set_rtctime(*pUserUTCTime); // calibrate RTC if we have one + set_rtctime(*pUserUTCTime, do_mutex); // calibrate RTC if we have one #endif timeSource = _lora; timesyncer.attach(TIME_SYNC_INTERVAL * 60, timeSync); // regular repeat