Skip to content

Commit

Permalink
Remove compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiaai authored Feb 28, 2024
1 parent 31f2ec8 commit eca2fb3
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 eca2fb3

Please sign in to comment.