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())
In function
NTPClient::getTime ()
(file:ESPNtpClient.cpp
), the statementif (ntpServerIPAddress == IPAddress (INADDR_NONE))
only work with ESP32. I think this due to theIPAddress (INADDR_NONE))
is(IP unset)
for esp8266,0.0.0.0
for esp32. Maybe it should beif(ntpServerIPAddress.toString() == IPAddress(INADDR_NONE).toString())