Skip to content

Commit b1e044a

Browse files
committed
2 parents bc51332 + 82fc260 commit b1e044a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/ESPDashboardPlus.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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: ");

0 commit comments

Comments
 (0)