Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 76f0a80

Browse files
Removed second NTP server from configTime. SNTP only uses one (espressif#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)

AltStyle によって変換されたページ (->オリジナル) /