We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b26bd6 commit d362a54Copy full SHA for d362a54
libraries/SocketWrapper/src/MbedClient.cpp
@@ -71,7 +71,7 @@ void arduino::MbedClient::configureSocket(Socket *_s) {
71
}
72
mutex->lock();
73
if (reader_th == nullptr) {
74
- reader_th = new rtos::Thread(osPriorityNormal - 2);
+ reader_th = new rtos::Thread(osPriorityNormal, OS_STACK_SIZE, nullptr, "readSocket");
75
reader_th->start(mbed::callback(this, &MbedClient::readSocket));
76
77
mutex->unlock();
0 commit comments