diff --git a/wled00/data/settings-min.htm b/wled00/data/settings-min.htm index 2b6b27d5..c60d996e 100644 --- a/wled00/data/settings-min.htm +++ b/wled00/data/settings-min.htm @@ -13,7 +13,7 @@

WiFi setup

Connect to existing network

-Network SSID (leave empty to not connect):
+Network SSID (leave empty to not connect):

Network password:

Static IP (leave at 0.0.0.0 for DHCP):
. diff --git a/wled00/data/settings.htm b/wled00/data/settings.htm index f17898ae..61639c3d 100644 --- a/wled00/data/settings.htm +++ b/wled00/data/settings.htm @@ -89,7 +89,7 @@

WiFi setup

Connect to existing network

- Network SSID (leave empty to not connect):
+ Network SSID (leave empty to not connect):

Network password:

Static IP (leave at 0.0.0.0 for DHCP):
. diff --git a/wled00/htmls01.h b/wled00/htmls01.h index 15859469..213432a1 100644 --- a/wled00/htmls01.h +++ b/wled00/htmls01.h @@ -17,8 +17,8 @@ const char PAGE_settings[] PROGMEM = R"=====(

WiFi setup

Connect to existing network

-Network SSID (leave empty to not connect):
-Network password:

+Network SSID (leave empty to not connect):

+Network password:

Static IP (leave at 0.0.0.0 for DHCP):
. . diff --git a/wled00/wled00.ino b/wled00/wled00.ino index 64f914cd..326515fb 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -8,9 +8,7 @@ #include #include #include -#include #include "WS2812FX.h" -#include #include #include #include @@ -22,7 +20,7 @@ #include "CallbackFunction.h" //version in format yymmddb (b = daily build) -#define VERSION 1705085 +#define VERSION 1705090 //to toggle usb serial debug (un)comment following line //#define DEBUG @@ -30,6 +28,10 @@ //spiffs FS only useful for debug //#define USEFS +#ifdef USEFS +#include +#endif + #ifdef DEBUG #define DEBUG_PRINT(x) Serial.print (x) #define DEBUG_PRINTLN(x) Serial.println (x) @@ -181,7 +183,9 @@ WiFiUDP ntpUdp; WS2812FX strip = WS2812FX(LEDCOUNT, 2, NEO_GRB + NEO_KHZ800); +#ifdef USEFS File fsUploadFile; +#endif #ifdef DEBUG long debugTime = 0; @@ -232,6 +236,7 @@ void loop() { handleNotifications(); handleTransitions(); handleNightlight(); + yield(); handleButton(); handleNetworkTime(); handleOverlays(); diff --git a/wled00/wled05_init.ino b/wled00/wled05_init.ino index 0eaf619e..0a1a15de 100644 --- a/wled00/wled05_init.ino +++ b/wled00/wled05_init.ino @@ -73,12 +73,6 @@ void wledInit() server.on("/settings", HTTP_GET, [](){ if(!handleFileRead("/settings.htm")) server.send(200, "text/html", PAGE_settings); }); - server.on("/button.png", HTTP_GET, [](){ - if(!handleFileRead("/button.png")) server.send(404, "text/plain", "FileNotFound"); - }); - server.on("/moon.png", HTTP_GET, [](){ - if(!handleFileRead("/moon.png")) server.send(404, "text/plain", "FileNotFound"); - }); server.on("/favicon.ico", HTTP_GET, [](){ if(!handleFileRead("/favicon.ico")) server.send(200, "image/x-icon", favicon); });