Skip to content

Commit 76f0a80

Browse files
authored
Removed second NTP server from configTime. SNTP only uses one (#5127)
1 parent 5bfbcfc commit 76f0a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const char* rootCACertificate = \
5656
// Not sure if WiFiClientSecure checks the validity date of the certificate.
5757
// Setting clock just to be sure...
5858
void setClock() {
59-
configTime(0, 0, "pool.ntp.org", "time.nist.gov");
59+
configTime(0, 0, "pool.ntp.org");
6060

6161
Serial.print(F("Waiting for NTP time sync: "));
6262
time_t nowSecs = time(nullptr);

0 commit comments

Comments
 (0)