You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In function NTPClient::getTime () (file: ESPNtpClient.cpp), the statement if (ntpServerIPAddress == IPAddress (INADDR_NONE)) only work with ESP32.
I think this due to the IPAddress (INADDR_NONE)) is (IP unset) for esp8266, 0.0.0.0 for esp32.
Maybe it should be if(ntpServerIPAddress.toString() == IPAddress(INADDR_NONE).toString())
The text was updated successfully, but these errors were encountered:
In function
NTPClient::getTime ()
(file:ESPNtpClient.cpp
), the statementif (ntpServerIPAddress == IPAddress (INADDR_NONE))
only work with ESP32.I think this due to the
IPAddress (INADDR_NONE))
is(IP unset)
for esp8266,0.0.0.0
for esp32.Maybe it should be
if(ntpServerIPAddress.toString() == IPAddress(INADDR_NONE).toString())
The text was updated successfully, but these errors were encountered: