A use xQueueCreateSet to create a QueueSetHandlet.
At the end of my function, i want to delete this QueueSetHandlet.
I not found the function to delete a QueueSetHandle_t.
Can you help me?
I think you can pass the QueueSetHandlet into vQueueDelete(), you may need to cast it to a QueueHandlet to prevent compiler warnings though.
Note it is dangerous to delete a queue set if there are still queues in the set, so ensure to remove the queues first, and a queue can only be removed from a set if it is empty.