Skip to content

Commit

Permalink
Remove Arduino compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiaai committed Jan 31, 2024
1 parent 37f8d5a commit 0751e9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wifi_transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0751e9e

Please sign in to comment.