Skip to content

Commit

Permalink
Removed second NTP server from configTime. SNTP only uses one (#5127)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbernstone committed May 18, 2021
1 parent 5bfbcfc commit 76f0a80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const char* rootCACertificate = \
// Not sure if WiFiClientSecure checks the validity date of the certificate.
// Setting clock just to be sure...
void setClock() {
configTime(0, 0, "pool.ntp.org", "time.nist.gov");
configTime(0, 0, "pool.ntp.org");

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

0 comments on commit 76f0a80

Please sign in to comment.