Skip to content

Commit

Permalink
MbedClient: write, remove set_blocking call before set_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Jun 27, 2024
1 parent 343e65b commit 70e3d5d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libraries/SocketWrapper/src/MbedClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ size_t arduino::MbedClient::write(const uint8_t *buf, size_t size) {
if (sock == nullptr)
return 0;

sock->set_blocking(true);
sock->set_timeout(_timeout);
int ret = sock->send(buf, size);
sock->set_blocking(false);
Expand Down

0 comments on commit 70e3d5d

Please sign in to comment.