diff --git a/tasks.c b/tasks.c index 7770838b2..7aa93f7f3 100644 --- a/tasks.c +++ b/tasks.c @@ -5865,7 +5865,7 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters ) { #if ( INCLUDE_vTaskSuspend == 1 ) /* The idle task exists in addition to the application tasks. */ - const UBaseType_t uxNonApplicationTasks = 1; + const UBaseType_t uxNonApplicationTasks = configNUMBER_OF_CORES; #endif /* INCLUDE_vTaskSuspend */ eSleepModeStatus eReturn = eStandardSleep;