File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -872,11 +872,11 @@ class ESPDashboardPlus {
872872 // Firmware version info (for OTA tab)
873873 String _version;
874874 String _lastUpdate;
875-
876- // Robust WebSocket JSON handler: parses exactly len bytes from data buffer
877- void handleWebSocketMessage (AsyncWebSocketClient* client, const uint8_t * data, size_t len) {
878- StaticJsonDocument<4096 > doc;
879- DeserializationError error = deserializeJson (doc, data, len);
875+
876+ // Robust WebSocket JSON handler: parses exactly len bytes from data buffer
877+ void handleWebSocketMessage (AsyncWebSocketClient* client, const uint8_t * data, size_t len) {
878+ StaticJsonDocument<4096 > doc;
879+ DeserializationError error = deserializeJson (doc, data, len);
880880
881881 if (error) {
882882 Serial.print (" [Dashboard] JSON parse error: " );
You can’t perform that action at this time.
0 commit comments