@@ -2462,12 +2462,12 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
24622462 UBaseType_t uxCurrentBasePriority , uxPriorityUsedOnEntry ;
24632463 BaseType_t xYieldRequired = pdFALSE ;
24642464
2465- traceENTER_vTaskPrioritySet ( xTask , uxNewPriority );
2466-
24672465 #if ( configNUMBER_OF_CORES > 1 )
24682466 BaseType_t xYieldForTask = pdFALSE ;
24692467 #endif
24702468
2469+ traceENTER_vTaskPrioritySet ( xTask , uxNewPriority );
2470+
24712471 configASSERT ( uxNewPriority < configMAX_PRIORITIES );
24722472
24732473 /* Ensure the new priority is valid. */
@@ -4376,12 +4376,12 @@ BaseType_t xTaskIncrementTick( void )
43764376 TickType_t xItemValue ;
43774377 BaseType_t xSwitchRequired = pdFALSE ;
43784378
4379- traceENTER_xTaskIncrementTick ();
4380-
43814379 #if ( configUSE_PREEMPTION == 1 ) && ( configNUMBER_OF_CORES > 1 )
43824380 BaseType_t xYieldRequiredForCore [ configNUMBER_OF_CORES ] = { pdFALSE };
43834381 #endif /* #if ( configUSE_PREEMPTION == 1 ) && ( configNUMBER_OF_CORES > 1 ) */
43844382
4383+ traceENTER_xTaskIncrementTick ();
4384+
43854385 /* Called by the portable layer each time a tick interrupt occurs.
43864386 * Increments the tick then checks to see if the new tick value will cause any
43874387 * tasks to be unblocked. */
@@ -5566,10 +5566,10 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters )
55665566 const UBaseType_t uxNonApplicationTasks = 1 ;
55675567 #endif /* INCLUDE_vTaskSuspend */
55685568
5569- traceENTER_eTaskConfirmSleepModeStatus ();
5570-
55715569 eSleepModeStatus eReturn = eStandardSleep ;
55725570
5571+ traceENTER_eTaskConfirmSleepModeStatus ();
5572+
55735573 /* This function must be called from a critical section. */
55745574
55755575 if ( listCURRENT_LIST_LENGTH ( & xPendingReadyList ) != 0 )
0 commit comments