mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Uncrustify: triggered by comment.
This commit is contained in:
parent
bf37bdbfd3
commit
7453f5df8f
2 changed files with 17 additions and 15 deletions
|
|
@ -367,19 +367,19 @@ typedef struct xLIST
|
|||
\
|
||||
/* Insert a new list item into ( pxList ), but rather than sort the list, \
|
||||
* makes the new list item the last item to be removed by a call to \
|
||||
* listGET_OWNER_OF_NEXT_ENTRY(). */ \
|
||||
( pxNewListItem )->pxNext = pxIndex; \
|
||||
( pxNewListItem )->pxPrevious = pxIndex->pxPrevious; \
|
||||
\
|
||||
pxIndex->pxPrevious->pxNext = ( pxNewListItem ); \
|
||||
pxIndex->pxPrevious = ( pxNewListItem ); \
|
||||
\
|
||||
/* Remember which list the item is in. */ \
|
||||
( pxNewListItem )->pxContainer = ( pxList ); \
|
||||
\
|
||||
uxNumberOfItems = ( ( pxList )->uxNumberOfItems ); \
|
||||
uxNumberOfItems++; \
|
||||
( ( pxList )->uxNumberOfItems ) = uxNumberOfItems; \
|
||||
* listGET_OWNER_OF_NEXT_ENTRY(). */ \
|
||||
( pxNewListItem )->pxNext = pxIndex; \
|
||||
( pxNewListItem )->pxPrevious = pxIndex->pxPrevious; \
|
||||
\
|
||||
pxIndex->pxPrevious->pxNext = ( pxNewListItem ); \
|
||||
pxIndex->pxPrevious = ( pxNewListItem ); \
|
||||
\
|
||||
/* Remember which list the item is in. */ \
|
||||
( pxNewListItem )->pxContainer = ( pxList ); \
|
||||
\
|
||||
uxNumberOfItems = ( ( pxList )->uxNumberOfItems ); \
|
||||
uxNumberOfItems++; \
|
||||
( ( pxList )->uxNumberOfItems ) = uxNumberOfItems; \
|
||||
} while( 0 )
|
||||
|
||||
/*
|
||||
|
|
|
|||
6
tasks.c
6
tasks.c
|
|
@ -2020,7 +2020,8 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
|
||||
static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB )
|
||||
{
|
||||
UBaseType_t uxNumberOfTasks;
|
||||
UBaseType_t uxNumberOfTasks;
|
||||
|
||||
/* Ensure interrupts don't access the task lists while the lists are being
|
||||
* updated. */
|
||||
taskENTER_CRITICAL();
|
||||
|
|
@ -3802,7 +3803,8 @@ void vTaskSuspendAll( void )
|
|||
|
||||
#if ( configNUMBER_OF_CORES == 1 )
|
||||
{
|
||||
UBaseType_t uxSchedulerSuspendedVal;
|
||||
UBaseType_t uxSchedulerSuspendedVal;
|
||||
|
||||
/* A critical section is not required as the variable is of type
|
||||
* BaseType_t. Please read Richard Barry's reply in the following link to a
|
||||
* post in the FreeRTOS support forum before reporting this as a bug! -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue