This commit is contained in:
2021-03-01 11:38:14 +01:00
parent e478f00ceb
commit e9afbbb379

View File

@ -153,7 +153,7 @@ void networkSntpEngine(void *handle) {
coloredMsg(LOG_BLUE, "nes, received in the %d. cycles", localHandle->retryCount);
uint32_t xmt_h = localHandle->ntpMsg.s.xmt_h;
localHandle->seconds = ((uint64_t)xmt_h) - UNIX_NTP_EPOCH_DIFF;
coloredMsg(LOG_BLUE, "nes, xmt: %08x", localHandle->ntpMsg.s.xmt_h);
coloredMsg(LOG_BLUE, "nes, xmt: %08x", xmt_h);
coloredMsg(LOG_BLUE, "nes, seconds: %lu", localHandle->seconds);
localHandle->sntpState = SNTP_STATE_DONE;
} else {