We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf42538 commit 38b7d18Copy full SHA for 38b7d18
esp8266-fastled-webserver.ino
@@ -584,8 +584,6 @@ void loop() {
584
webServer.handleClient();
585
MDNS.update();
586
587
- timeClient.update();
588
-
589
static bool hasConnected = false;
590
EVERY_N_SECONDS(1) {
591
if (WiFi.status() != WL_CONNECTED) {
@@ -604,6 +602,9 @@ void loop() {
604
602
Serial.print(nameString);
605
603
Serial.println(".local in your browser");
606
}
+ else {
+ timeClient.update();
607
+ }
608
609
610
checkPingTimer();
@@ -897,7 +898,7 @@ void readSettings()
897
898
{
899
// check for "magic number" so we know settings have been written to EEPROM
900
// and it's not just full of random bytes
901
+
902
if (EEPROM.read(511) != 55) {
903
return;
904
0 commit comments