Skip to content

Commit ca5df70

Browse files
committed
Adding Arduino NTP server to NTP server list when syncing ESP8266 clock
1 parent 578c307 commit ca5df70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_WiFiConnectionHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void WiFiConnectionHandler::update() {
177177
case NetworkConnectionState::GETTIME: {
178178
Debug.print(DBG_VERBOSE, "NetworkConnectionState::GETTIME");
179179
#if defined(ARDUINO_ESP8266_ESP12) || defined(ARDUINO_ARCH_ESP32) || defined(ESP8266)
180-
configTime(0, 0, "pool.ntp.org", "time.nist.gov");
180+
configTime(0, 0, "time.arduino.cc", "pool.ntp.org", "time.nist.gov");
181181
#endif
182182
changeConnectionState(NetworkConnectionState::CONNECTED);
183183
}

0 commit comments

Comments
 (0)