Skip to content

Commit d1e0919

Browse files
author
Ubuntu
committed
Fix format
1 parent 21c9c6a commit d1e0919

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tasks.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
881881
configASSERT( portGET_CRITICAL_NESTING_COUNT() > 0U );
882882

883883
#if ( configRUN_MULTIPLE_PRIORITIES == 0 )
884+
884885
/* No task should yield for this one if it is a lower priority
885886
* than priority level of currently ready tasks. */
886887
if( pxTCB->uxPriority >= uxTopReadyPriority )
@@ -3359,10 +3360,12 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
33593360
configASSERT( xTaskToResume );
33603361

33613362
#if ( configNUMBER_OF_CORES == 1 )
3363+
33623364
/* The parameter cannot be NULL as it is impossible to resume the
33633365
* currently executing task. */
33643366
if( ( pxTCB != pxCurrentTCB ) && ( pxTCB != NULL ) )
33653367
#else
3368+
33663369
/* The parameter cannot be NULL as it is impossible to resume the
33673370
* currently executing task. It is also impossible to resume a task
33683371
* that is actively running on another core but it is not safe

0 commit comments

Comments
 (0)