diff --git a/include/FreeRTOS.h b/include/FreeRTOS.h index 05cda7da0..75e2855f7 100644 --- a/include/FreeRTOS.h +++ b/include/FreeRTOS.h @@ -456,6 +456,10 @@ hold explicit before calling the code. */ #define traceCREATE_COUNTING_SEMAPHORE_FAILED() #endif +#ifndef traceQUEUE_SET_SEND + #define traceQUEUE_SET_SEND traceQUEUE_SEND +#endif + #ifndef traceQUEUE_SEND #define traceQUEUE_SEND( pxQueue ) #endif diff --git a/queue.c b/queue.c index 8b46da06a..b30d21215 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 );