fix for negative time diffs

This commit is contained in:
cyberman54 committed 2021-07-20 13:24:16 +02:00
1 parent d33213b20a
commit 5b28fe03ed
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -230,7 +230,7 @@ void IRAM_ATTR timesync_serverAnswer(void *pUserData, int flag) {
// pUserData: contains pointer to SeqNo (not needed here)
// flag: indicates if we got a recent time from the network
uint32_t delay_msec;
int32_t delay_msec;
lmic_time_reference_t lmicTime;
if (flag != 1) {