From 6555208d8cfd84103cba7bf3b2d1312d4ed9476a Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 1 Mar 2021 11:35:52 +0100 Subject: [PATCH] debug --- cube/User/Src/networkAbstractionLayer_lan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cube/User/Src/networkAbstractionLayer_lan.c b/cube/User/Src/networkAbstractionLayer_lan.c index c645383..ea2c9ba 100644 --- a/cube/User/Src/networkAbstractionLayer_lan.c +++ b/cube/User/Src/networkAbstractionLayer_lan.c @@ -152,6 +152,7 @@ void networkSntpEngine(void *handle) { coloredMsg(LOG_BLUE, "nes, received in the %d. cycles", localHandle->retryCount); localHandle->seconds = ((uint64_t)localHandle->ntpMsg.s.xmt_h) - UNIX_NTP_EPOCH_DIFF; + coloredMsg(LOG_BLUE, "nes, xmt: %08x", localHandle->ntpMsg.s.xmt_h); coloredMsg(LOG_BLUE, "nes, seconds: %lu", localHandle->seconds); localHandle->sntpState = SNTP_STATE_DONE; } else {