mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-27 17:02:06 -04:00
Ensure the queue registry gets initialised.
This commit is contained in:
parent
ea07e0b934
commit
1d4e319aa7
|
@ -162,7 +162,7 @@ unsigned portBASE_TYPE uxQueueMessagesWaitingFromISR( const xQueueHandle pxQueue
|
||||||
/* The queue registry is simply an array of xQueueRegistryItem structures.
|
/* The queue registry is simply an array of xQueueRegistryItem structures.
|
||||||
The pcQueueName member of a structure being NULL is indicative of the
|
The pcQueueName member of a structure being NULL is indicative of the
|
||||||
array position being vacant. */
|
array position being vacant. */
|
||||||
xQueueRegistryItem xQueueRegistry[ configQUEUE_REGISTRY_SIZE ];
|
xQueueRegistryItem xQueueRegistry[ configQUEUE_REGISTRY_SIZE ] = { 0 };
|
||||||
|
|
||||||
/* Removes a queue from the registry by simply setting the pcQueueName
|
/* Removes a queue from the registry by simply setting the pcQueueName
|
||||||
member to NULL. */
|
member to NULL. */
|
||||||
|
|
Loading…
Reference in a new issue