mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Uncrustify: triggered by comment.
This commit is contained in:
parent
ef23fb8fae
commit
19b8be39bd
1 changed files with 4 additions and 4 deletions
8
tasks.c
8
tasks.c
|
|
@ -3189,10 +3189,10 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
* to by pxCurrentTCB has just been suspended and pxCurrentTCB
|
||||
* must be adjusted to point to a different task. */
|
||||
|
||||
/* Use temp variable as distinct sequence points for reading
|
||||
* volatile variables prior to a comparison, per the coding guidelines */
|
||||
UBaseType_t uxCurrentListLength = listCURRENT_LIST_LENGTH( &xSuspendedTaskList );
|
||||
UBaseType_t uxCurrentNumOfTasks = uxCurrentNumberOfTasks;
|
||||
/* Use temp variable as distinct sequence points for reading
|
||||
* volatile variables prior to a comparison, per the coding guidelines */
|
||||
UBaseType_t uxCurrentListLength = listCURRENT_LIST_LENGTH( &xSuspendedTaskList );
|
||||
UBaseType_t uxCurrentNumOfTasks = uxCurrentNumberOfTasks;
|
||||
|
||||
if( uxCurrentListLength == uxCurrentNumOfTasks )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue