fix for negative time diffs
This commit is contained in:
1 parent
d33213b20a
commit
5b28fe03ed
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user