File tree 1 file changed +3
-0
lines changed 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -881,6 +881,7 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
881
881
configASSERT ( portGET_CRITICAL_NESTING_COUNT () > 0U );
882
882
883
883
#if ( configRUN_MULTIPLE_PRIORITIES == 0 )
884
+
884
885
/* No task should yield for this one if it is a lower priority
885
886
* than priority level of currently ready tasks. */
886
887
if ( pxTCB -> uxPriority >= uxTopReadyPriority )
@@ -3359,10 +3360,12 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
3359
3360
configASSERT ( xTaskToResume );
3360
3361
3361
3362
#if ( configNUMBER_OF_CORES == 1 )
3363
+
3362
3364
/* The parameter cannot be NULL as it is impossible to resume the
3363
3365
* currently executing task. */
3364
3366
if ( ( pxTCB != pxCurrentTCB ) && ( pxTCB != NULL ) )
3365
3367
#else
3368
+
3366
3369
/* The parameter cannot be NULL as it is impossible to resume the
3367
3370
* currently executing task. It is also impossible to resume a task
3368
3371
* that is actively running on another core but it is not safe
You can’t perform that action at this time.
0 commit comments