Skip to content

Commit

Permalink
Fix an extra indirection in the FreeRTOS version of ErQueueTimedPopFr…
Browse files Browse the repository at this point in the history
…ont()
  • Loading branch information
jd-yolabs committed Jul 13, 2023
1 parent fc628f3 commit 374e0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventrouter/internal/queue_freertos.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void ErQueuePushBack(ErQueue_t a_queue, ErEvent_t *a_event)

bool ErQueueTimedPopFront(ErQueue_t a_queue, ErEvent_t **a_event, int64_t a_ms)
{
BaseType_t ret = xQueueReceive(a_queue, &a_event, pdMS_TO_TICKS(a_ms));
BaseType_t ret = xQueueReceive(a_queue, a_event, pdMS_TO_TICKS(a_ms));
return (ret == pdTRUE);
}

Expand Down

0 comments on commit 374e0bc

Please sign in to comment.