lorawan.cpp: set_rtctime call modified
This commit is contained in:
parent
f653118d40
commit
57042e943c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user