Skip to content

Commit d362a54

Browse files
authored
Update MbedClient.cpp to correct read thread priority and name the thread
1 parent 9b26bd6 commit d362a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void arduino::MbedClient::configureSocket(Socket *_s) {
7171
}
7272
mutex->lock();
7373
if (reader_th == nullptr) {
74-
reader_th = new rtos::Thread(osPriorityNormal - 2);
74+
reader_th = new rtos::Thread(osPriorityNormal, OS_STACK_SIZE, nullptr, "readSocket");
7575
reader_th->start(mbed::callback(this, &MbedClient::readSocket));
7676
}
7777
mutex->unlock();

0 commit comments

Comments
 (0)