From 29209303ecbaa6fbba0a9ae2a993190916e067b8 Mon Sep 17 00:00:00 2001 From: Junior Martinez <67972863+jmartinez-silabs@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:39:18 -0400 Subject: [PATCH] change pdTrue(FreeRTOS) to osOS (CMSISOS) (#33017) --- examples/platform/silabs/efr32/uart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platform/silabs/efr32/uart.cpp b/examples/platform/silabs/efr32/uart.cpp index 2b29cca0db0a92..9a626e10a2159d 100644 --- a/examples/platform/silabs/efr32/uart.cpp +++ b/examples/platform/silabs/efr32/uart.cpp @@ -442,7 +442,7 @@ void uartMainLoop(void * args) { osStatus_t eventReceived = osMessageQueueGet(sUartTxQueue, &workBuffer, nullptr, osWaitForever); - while (eventReceived == pdTRUE) + while (eventReceived == osOK) { uartSendBytes(workBuffer.data, workBuffer.length); eventReceived = osMessageQueueGet(sUartTxQueue, &workBuffer, nullptr, 0);