Skip to content

Commit 4883879

Browse files
committed
MbedClient: remove configureSocket after write
1 parent 546529a commit 4883879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SocketWrapper/src/MbedClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ size_t arduino::MbedClient::write(const uint8_t *buf, size_t size) {
219219
do {
220220
ret = sock->send(buf, size);
221221
} while ((ret != size && ret == NSAPI_ERROR_WOULD_BLOCK) && connected());
222-
configureSocket(sock);
222+
sock->set_blocking(false);
223223
return size;
224224
}
225225

0 commit comments

Comments
 (0)