From 8b49dc186fec7ed5376e79a1ae9f422b55f07a90 Mon Sep 17 00:00:00 2001 From: geronet1 Date: Wed, 29 Nov 2023 16:17:30 +0100 Subject: [PATCH] W5500 sunrise bugix ntp update --- src/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.cpp b/src/app.cpp index b8813034..5826c791 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -300,7 +300,7 @@ void app::updateNtp(void) { void app::tickNtpUpdate(void) { uint32_t nxtTrig = 5; // default: check again in 5 sec #if defined(ETHERNET) - bool isOK = false; + bool isOK = (mTimestamp != 0); mEth.updateNtpTime(); #else bool isOK = mWifi.getNtpTime();