Skip to content

Commit

Permalink
In smp, every core has a idle task.
Browse files Browse the repository at this point in the history
  • Loading branch information
Moral-Hao committed Nov 15, 2023
1 parent ad13a1f commit 6a72a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -5854,7 +5854,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;
Expand Down

0 comments on commit 6a72a57

Please sign in to comment.