Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiaai committed Feb 28, 2024
1 parent d262e78 commit 2e03160
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 @@ -56,7 +56,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 2e03160

Please sign in to comment.