Skip to content

Commit

Permalink
change pdTrue(FreeRTOS) to osOS (CMSISOS) (#33017)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored and pull[bot] committed Nov 9, 2024
1 parent bbf831e commit 2920930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platform/silabs/efr32/uart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2920930

Please sign in to comment.