Browse Source

W5500 sunrise bugix

pull/1240/head
geronet1 2 years ago
parent
commit
6bd05c0aa3
  1. 3
      src/app.cpp

3
src/app.cpp

@ -300,7 +300,8 @@ void app::updateNtp(void) {
void app::tickNtpUpdate(void) { void app::tickNtpUpdate(void) {
uint32_t nxtTrig = 5; // default: check again in 5 sec uint32_t nxtTrig = 5; // default: check again in 5 sec
#if defined(ETHERNET) #if defined(ETHERNET)
bool isOK = mEth.updateNtpTime(); bool isOK = false;
mEth.updateNtpTime();
#else #else
bool isOK = mWifi.getNtpTime(); bool isOK = mWifi.getNtpTime();
#endif #endif

Loading…
Cancel
Save