Removed second NTP server from configTime. SNTP only uses one (#5127)

This commit is contained in:
lbernstone 2021-05-18 04:50:40 -06:00 committed by GitHub
parent 5bfbcfc91c
commit 76f0a80fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);