From ddd02abf4733215b239ac807483195cd0e930c8d Mon Sep 17 00:00:00 2001 From: Erik Tamlin Date: Tue, 7 Apr 2020 11:27:52 +0200 Subject: [PATCH] * Renamed trace point in prvNotifyQueueSetContainer() so it isn't a duplicate of the trace point in xQueueGenericSend() --- include/FreeRTOS.h | 4 ++++ queue.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/FreeRTOS.h b/include/FreeRTOS.h index 5a1a49780..9048eb370 100644 --- a/include/FreeRTOS.h +++ b/include/FreeRTOS.h @@ -460,6 +460,10 @@ hold explicit before calling the code. */ #define traceQUEUE_SEND( pxQueue ) #endif +#ifndef traceQUEUE_SET_SEND + #define traceQUEUE_SET_SEND( pxQueue ) +#endif + #ifndef traceQUEUE_SEND_FAILED #define traceQUEUE_SEND_FAILED( pxQueue ) #endif diff --git a/queue.c b/queue.c index 14ad01ec9..f0407ebc0 100644 --- a/queue.c +++ b/queue.c @@ -2893,7 +2893,7 @@ Queue_t * const pxQueue = xQueue; { const int8_t cTxLock = pxQueueSetContainer->cTxLock; - traceQUEUE_SEND( pxQueueSetContainer ); + traceQUEUE_SET_SEND( pxQueueSetContainer ); /* The data copied is the handle of the queue that contains data. */ xReturn = prvCopyDataToQueue( pxQueueSetContainer, &pxQueue, queueSEND_TO_BACK );