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

libraries/HTTPClient/examples/BasicHttpsClient/BasicHttpsClient.ino

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy