From 29198a24365759dafa839a14b0cde8546595b8ff Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Wed, 20 Nov 2024 23:18:51 +0100 Subject: [PATCH] Fix sample --- examples/Issue162/Issue162.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Issue162/Issue162.ino b/examples/Issue162/Issue162.ino index 3647b5d..3d8a163 100644 --- a/examples/Issue162/Issue162.ino +++ b/examples/Issue162/Issue162.ino @@ -26,7 +26,7 @@ void onWsEvent(AsyncWebSocket* server, AsyncWebSocketClient* client, AwsEventTyp } else if (type == WS_EVT_ERROR) { Serial.printf("Client #%" PRIu32 " error.\n", client->id()); } else if (type == WS_EVT_DATA) { - Serial.printf("Client #%" PRIu32 " data: %.*s\n", client->id(), len, data); + Serial.printf("Client #%" PRIu32 " len: %u\n", client->id(), len); } }