@@ -1555,11 +1555,10 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
15551555 pxNewTCB -> xTaskRunState = taskTASK_NOT_RUNNING ;
15561556
15571557 /* Is this an idle task? */
1558- if ( pxTaskCode == prvIdleTask )
1558+ if (pxTaskCode == prvIdleTask )
15591559 {
15601560 pxNewTCB -> xIsIdle = pdTRUE ;
15611561 }
1562-
15631562 #if ( configNUM_CORES > 1 )
15641563 else if ( pxTaskCode == prvMinimalIdleTask )
15651564 {
@@ -2703,7 +2702,6 @@ static BaseType_t prvCreateIdleTasks( void )
27032702 pxIdleTaskStackBuffer ,
27042703 pxIdleTaskTCBBuffer ); /*lint !e961 MISRA exception, justified as it is not a redundant explicit cast to all supported compilers. */
27052704 }
2706-
27072705 #if ( configNUM_CORES > 1 )
27082706 else
27092707 {
@@ -4236,11 +4234,17 @@ void vTaskMissedYield( void )
42364234 * The MinimalIdle task.
42374235 * ----------------------------------------------------------
42384236 *
4237+ * The portTASK_FUNCTION() macro is used to allow port/compiler specific
4238+ * language extensions. The equivalent prototype for this function is:
4239+ *
4240+ * void prvMinimalIdleTask( void *pvParameters );
4241+ *
42394242 * The minimal idle task is used for all the additional Cores in a SMP system.
42404243 * There must be only 1 idle task and the rest are minimal idle tasks.
4241- *
4244+ *
42424245 * @todo additional conditional compiles to remove this function.
42434246 */
4247+
42444248#if ( configNUM_CORES > 1 )
42454249 static portTASK_FUNCTION ( prvMinimalIdleTask , pvParameters )
42464250 {
0 commit comments