@@ -37,7 +37,7 @@ static const char *const webServerStateNames[] = {
3737 webServer->on (page, HTTP_GET, []() { \
3838 String length; \
3939 if (settings.debugWebServer == true ) \
40- systemPrintf (" WebServer: Sending %s (%p, %d bytes)\r\n " , page, (void *)data, sizeof (data)); \
40+ systemPrintf (" WebServer: Sending %s (%p, %d bytes)\r\n " , page, (void *)data, sizeof (data)); \
4141 webServer->sendHeader (" Content-Encoding" , " gzip" ); \
4242 length = String (sizeof (data)); \
4343 webServer->sendHeader (" Content-Length" , length.c_str ()); \
@@ -63,8 +63,8 @@ static int last_ws_fd;
6363
6464static TaskHandle_t updateWebServerTaskHandle;
6565static const uint8_t updateWebServerTaskPriority = 0 ; // 3 being the highest, and 0 being the lowest
66- static const int webServerTaskStackSize = 1024 * 4 ; // Needs to be large enough to hold the file manager file list
67- static const int webSocketStackSize = 1024 * 20 ; // Needs to be large enough to hold the full settingsCSV
66+ static const int webServerTaskStackSize = 1024 * 4 ; // Needs to be large enough to hold the file manager file list
67+ static const int webSocketStackSize = 1024 * 20 ; // Needs to be large enough to hold the full settingsCSV
6868
6969// Inspired by:
7070// https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer/examples/MultiHomedServers/MultiHomedServers.ino
@@ -673,13 +673,7 @@ bool parseIncomingSettings()
673673 }
674674 }
675675
676- if (counter < maxAttempts)
677- {
678- // Confirm receipt
679- if (settings.debugWebServer == true )
680- systemPrintln (" Sending receipt confirmation of settings" );
681- sendStringToWebsocket (" confirmDataReceipt,1," );
682- }
676+ systemPrintln (" Parsing complete" );
683677
684678 return (true );
685679}
0 commit comments