clock ntp server priority

This commit is contained in:
Patrick Haßel 2025-01-10 12:12:48 +01:00
parent b960fd6b92
commit 259c271f8e

View File

@ -22,7 +22,7 @@ void clockLoop() {
}
if (!ntpSet && isWiFiConnected()) {
configTime(CLOCK_GMT_OFFSET_SECONDS, CLOCK_DST_OFFSET_SECONDS, WiFi.gatewayIP().toString().c_str(), CLOCK_NTP_SERVER2_URL);
configTime(CLOCK_GMT_OFFSET_SECONDS, CLOCK_DST_OFFSET_SECONDS, CLOCK_NTP_SERVER2_URL, WiFi.gatewayIP().toString().c_str());
ntpSet = true;
}