Skip to content

Commit 2829f3e

Browse files
Replace volatile with configLIST_VOLATILE (#1027)
1 parent 030c1aa commit 2829f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ typedef struct xLIST_ITEM ListItem_t;
172172
typedef struct xLIST
173173
{
174174
listFIRST_LIST_INTEGRITY_CHECK_VALUE /**< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
175-
volatile UBaseType_t uxNumberOfItems;
175+
configLIST_VOLATILE UBaseType_t uxNumberOfItems;
176176
ListItem_t * configLIST_VOLATILE pxIndex; /**< Used to walk through the list. Points to the last item returned by a call to listGET_OWNER_OF_NEXT_ENTRY (). */
177177
MiniListItem_t xListEnd; /**< List item that contains the maximum possible item value meaning it is always at the end of the list and is therefore used as a marker. */
178178
listSECOND_LIST_INTEGRITY_CHECK_VALUE /**< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */

0 commit comments

Comments
 (0)