start timediffseq at -1, so first syncing can finish
This commit is contained in:
parent
592c9d6ede
commit
fc2997c9fd
@ -26,7 +26,7 @@ typedef std::chrono::duration<long long int, std::ratio<1, 1000>>
|
||||
|
||||
TaskHandle_t timeSyncReqTask = NULL;
|
||||
|
||||
static uint8_t time_sync_seqNo = 0;
|
||||
static uint8_t time_sync_seqNo = -1;
|
||||
static bool timeSyncPending = false;
|
||||
static myClock_timepoint time_sync_tx[TIME_SYNC_SAMPLES];
|
||||
static myClock_timepoint time_sync_rx[TIME_SYNC_SAMPLES];
|
||||
|
Loading…
Reference in New Issue
Block a user