You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/list.h
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@
31
31
*
32
32
* list_ts can only store pointers to list_item_ts. Each ListItem_t contains a
33
33
* numeric value (xItemValue). Most of the time the lists are sorted in
34
-
* descending item value order.
34
+
* ascending item value order.
35
35
*
36
36
* Lists are created already containing one list item. The value of this
37
37
* item is the maximum possible that can be stored, it is therefore always at
@@ -141,19 +141,19 @@
141
141
structxLIST;
142
142
structxLIST_ITEM
143
143
{
144
-
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
145
-
configLIST_VOLATILETickType_txItemValue; /*< The value being listed. In most cases this is used to sort the list in descending order. */
146
-
structxLIST_ITEM*configLIST_VOLATILEpxNext; /*< Pointer to the next ListItem_t in the list. */
147
-
structxLIST_ITEM*configLIST_VOLATILEpxPrevious; /*< Pointer to the previous ListItem_t in the list. */
148
-
void*pvOwner; /*< Pointer to the object (normally a TCB) that contains the list item. There is therefore a two way link between the object containing the list item and the list item itself. */
149
-
structxLIST*configLIST_VOLATILEpxContainer; /*< Pointer to the list in which this list item is placed (if any). */
150
-
listSECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
144
+
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
145
+
configLIST_VOLATILETickType_txItemValue; /*< The value being listed. In most cases this is used to sort the list in ascending order. */
146
+
structxLIST_ITEM*configLIST_VOLATILEpxNext; /*< Pointer to the next ListItem_t in the list. */
147
+
structxLIST_ITEM*configLIST_VOLATILEpxPrevious; /*< Pointer to the previous ListItem_t in the list. */
148
+
void*pvOwner; /*< Pointer to the object (normally a TCB) that contains the list item. There is therefore a two way link between the object containing the list item and the list item itself. */
149
+
structxLIST*configLIST_VOLATILEpxContainer; /*< Pointer to the list in which this list item is placed (if any). */
150
+
listSECOND_LIST_ITEM_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
151
151
};
152
-
typedefstructxLIST_ITEMListItem_t; /* For some reason lint wants this as two separate definitions. */
152
+
typedefstructxLIST_ITEMListItem_t; /* For some reason lint wants this as two separate definitions. */
153
153
154
154
structxMINI_LIST_ITEM
155
155
{
156
-
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
156
+
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
listFIRST_LIST_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
168
+
listFIRST_LIST_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
169
169
volatileUBaseType_tuxNumberOfItems;
170
-
ListItem_t*configLIST_VOLATILEpxIndex; /*< Used to walk through the list. Points to the last item returned by a call to listGET_OWNER_OF_NEXT_ENTRY (). */
171
-
MiniListItem_txListEnd; /*< 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. */
172
-
listSECOND_LIST_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
170
+
ListItem_t*configLIST_VOLATILEpxIndex; /*< Used to walk through the list. Points to the last item returned by a call to listGET_OWNER_OF_NEXT_ENTRY (). */
171
+
MiniListItem_txListEnd; /*< 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. */
172
+
listSECOND_LIST_INTEGRITY_CHECK_VALUE/*< Set to a known value if configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES is set to 1. */
173
173
} List_t;
174
174
175
175
/*
@@ -192,7 +192,7 @@ typedef struct xLIST
192
192
193
193
/*
194
194
* Access macro to set the value of the list item. In most cases the value is
0 commit comments