Skip to content

Commit 5a08982

Browse files
Give queue set queues a unique type number. (#1083)
Discussed here: https://forums.freertos.org/t/tracing-improvements/20097 Changes the value of queueQUEUE_TYPE_SET to a unique value (5) to allow tracers to differentiate between normal queues and queue sets. Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
1 parent 69e1b7c commit 5a08982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
7171

7272
/* For internal use only. These definitions *must* match those in queue.c. */
7373
#define queueQUEUE_TYPE_BASE ( ( uint8_t ) 0U )
74-
#define queueQUEUE_TYPE_SET ( ( uint8_t ) 0U )
7574
#define queueQUEUE_TYPE_MUTEX ( ( uint8_t ) 1U )
7675
#define queueQUEUE_TYPE_COUNTING_SEMAPHORE ( ( uint8_t ) 2U )
7776
#define queueQUEUE_TYPE_BINARY_SEMAPHORE ( ( uint8_t ) 3U )
7877
#define queueQUEUE_TYPE_RECURSIVE_MUTEX ( ( uint8_t ) 4U )
78+
#define queueQUEUE_TYPE_SET ( ( uint8_t ) 5U )
7979

8080
/**
8181
* queue. h

0 commit comments

Comments
 (0)