Skip to content

Commit

Permalink
In smp, every core has a idle task. (#893)
Browse files Browse the repository at this point in the history
Co-authored-by: chinglee-iot <[email protected]>
  • Loading branch information
Moral-Hao and chinglee-iot authored Nov 16, 2023
1 parent dc09a3d commit 5f2bb1b
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 @@ -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;
Expand Down

0 comments on commit 5f2bb1b

Please sign in to comment.