Skip to content

Commit 70e3d5d

Browse files
committed
MbedClient: write, remove set_blocking call before set_timeout
1 parent 343e65b commit 70e3d5d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: libraries/SocketWrapper/src/MbedClient.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ size_t arduino::MbedClient::write(const uint8_t *buf, size_t size) {
212212
if (sock == nullptr)
213213
return 0;
214214

215-
sock->set_blocking(true);
216215
sock->set_timeout(_timeout);
217216
int ret = sock->send(buf, size);
218217
sock->set_blocking(false);

0 commit comments

Comments
 (0)