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 );