Added volatile key word to the queue xRxLock and xTxLock members.
Ensure the portPRIVILEGED_BIT bit is set when the timer task is being created by the kernel - as it was for the idle task. Necessary for MPU port.
/* Constants used with the cRxLock and cTxLock structure members. */
/* Constants used with the cRxLock and xTxLock structure members. */
#define queueUNLOCKED ( ( signed portBASE_TYPE ) -1 )
#define queueUNLOCKED ( ( signed portBASE_TYPE ) -1 )
#define queueLOCKED_UNMODIFIED ( ( signed portBASE_TYPE ) 0 )
#define queueLOCKED_UNMODIFIED ( ( signed portBASE_TYPE ) 0 )
@ -133,8 +133,8 @@ typedef struct QueueDefinition
unsignedportBASE_TYPEuxLength;/*< The length of the queue defined as the number of items it will hold, not the number of bytes. */
unsignedportBASE_TYPEuxLength;/*< The length of the queue defined as the number of items it will hold, not the number of bytes. */
unsignedportBASE_TYPEuxItemSize;/*< The size of each items that the queue will hold. */
unsignedportBASE_TYPEuxItemSize;/*< The size of each items that the queue will hold. */
signedportBASE_TYPExRxLock;/*< Stores the number of items received from the queue (removed from the queue) while the queue was locked. Set to queueUNLOCKED when the queue is not locked. */
volatilesignedportBASE_TYPExRxLock;/*< Stores the number of items received from the queue (removed from the queue) while the queue was locked. Set to queueUNLOCKED when the queue is not locked. */
signedportBASE_TYPExTxLock;/*< Stores the number of items transmitted to the queue (added to the queue) while the queue was locked. Set to queueUNLOCKED when the queue is not locked. */
volatilesignedportBASE_TYPExTxLock;/*< Stores the number of items transmitted to the queue (added to the queue) while the queue was locked. Set to queueUNLOCKED when the queue is not locked. */