From 0751e9ea35cbe7882ebfd4f260f8743f1013feb3 Mon Sep 17 00:00:00 2001 From: "kaia.ai" <33589365+kaiaai@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:33:08 -0800 Subject: [PATCH] Remove Arduino compiler warning --- src/wifi_transport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wifi_transport.cpp b/src/wifi_transport.cpp index bce8ff9a9..7e914b24c 100644 --- a/src/wifi_transport.cpp +++ b/src/wifi_transport.cpp @@ -58,7 +58,8 @@ extern "C" delay(1); } - size_t readed = udp_client.read(buf, len); + //size_t readed = udp_client.read(buf, len); + int readed = udp_client.read(buf, len); return (readed < 0) ? 0 : readed; }