mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Renamed trace point in prvNotifyQueueSetContainer() so it isn't a d… (#47)
* * Renamed trace point in prvNotifyQueueSetContainer() so it isn't a duplicate of the trace point in xQueueGenericSend() * * Fixed backwards compatibility. Co-authored-by: Erik Tamlin <erik.tamlin@percepio.com>
This commit is contained in:
parent
4b353bfd7a
commit
6199b72fbf
|
@ -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
|
||||
|
|
2
queue.c
2
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 );
|
||||
|
|
Loading…
Reference in a new issue