Skip to content

Commit 69acf26

Browse files
Fix code style issues with clang_format
1 parent cc3eb2b commit 69acf26

File tree

1 file changed

+15
-18
lines changed
  • embedded/STM32/lib/FreeRTOS-Kernel/include

1 file changed

+15
-18
lines changed

embedded/STM32/lib/FreeRTOS-Kernel/include/list.h

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,17 @@ extern "C" {
152152
*/
153153
struct xLIST;
154154
struct xLIST_ITEM {
155-
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE /**< Set to a known value if
156-
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
157-
is set to 1. */
158-
configLIST_VOLATILE TickType_t
159-
xItemValue; /**< The value
160-
being listed.
161-
In most cases
162-
this is used
163-
to sort the
164-
list in
165-
ascending
166-
order. */
155+
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE /**< Set to a known value if
156+
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
157+
is set to 1. */
158+
configLIST_VOLATILE TickType_t xItemValue; /**< The value
159+
being listed.
160+
In most cases
161+
this is used
162+
to sort the
163+
list in
164+
ascending
165+
order. */
167166
struct xLIST_ITEM *configLIST_VOLATILE
168167
pxNext; /**< Pointer to the next ListItem_t in the list. */
169168
struct xLIST_ITEM *configLIST_VOLATILE
@@ -185,8 +184,7 @@ struct xMINI_LIST_ITEM {
185184
listFIRST_LIST_ITEM_INTEGRITY_CHECK_VALUE /**< Set to a known value if
186185
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
187186
is set to 1. */
188-
configLIST_VOLATILE TickType_t
189-
xItemValue;
187+
configLIST_VOLATILE TickType_t xItemValue;
190188
struct xLIST_ITEM *configLIST_VOLATILE pxNext;
191189
struct xLIST_ITEM *configLIST_VOLATILE pxPrevious;
192190
};
@@ -202,8 +200,7 @@ typedef struct xLIST {
202200
listFIRST_LIST_INTEGRITY_CHECK_VALUE /**< Set to a known value if
203201
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
204202
is set to 1. */
205-
configLIST_VOLATILE UBaseType_t
206-
uxNumberOfItems;
203+
configLIST_VOLATILE UBaseType_t uxNumberOfItems;
207204
ListItem_t *configLIST_VOLATILE
208205
pxIndex; /**< Used to walk through the list. Points to the last item
209206
returned by a call to listGET_OWNER_OF_NEXT_ENTRY (). */
@@ -405,8 +402,8 @@ typedef struct xLIST {
405402
ListItem_t *const pxIndex = (pxList)->pxIndex; \
406403
\
407404
/* Only effective when configASSERT() is also defined, these tests may \
408-
* catch the list data structures being overwritten in memory. They will \
409-
* not catch data errors caused by incorrect configuration or use of \
405+
* catch the list data structures being overwritten in memory. They will \
406+
* not catch data errors caused by incorrect configuration or use of \
410407
* FreeRTOS. */ \
411408
listTEST_LIST_INTEGRITY((pxList)); \
412409
listTEST_LIST_ITEM_INTEGRITY((pxNewListItem)); \

0 commit comments

Comments
 (0)