From 374e0bc79ebd781e7c1f3f31298d3e153c596ccb Mon Sep 17 00:00:00 2001 From: Joseph Jaoudi Date: Thu, 13 Jul 2023 10:01:20 -0700 Subject: [PATCH] Fix an extra indirection in the FreeRTOS version of ErQueueTimedPopFront() --- eventrouter/internal/queue_freertos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventrouter/internal/queue_freertos.c b/eventrouter/internal/queue_freertos.c index aa60983..12c21fc 100644 --- a/eventrouter/internal/queue_freertos.c +++ b/eventrouter/internal/queue_freertos.c @@ -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); }