Skip to content

Commit 5f2bb1b

Browse files
In smp, every core has a idle task. (#893)
Co-authored-by: chinglee-iot <[email protected]>
1 parent dc09a3d commit 5f2bb1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5865,7 +5865,7 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters )
58655865
{
58665866
#if ( INCLUDE_vTaskSuspend == 1 )
58675867
/* The idle task exists in addition to the application tasks. */
5868-
const UBaseType_t uxNonApplicationTasks = 1;
5868+
const UBaseType_t uxNonApplicationTasks = configNUMBER_OF_CORES;
58695869
#endif /* INCLUDE_vTaskSuspend */
58705870

58715871
eSleepModeStatus eReturn = eStandardSleep;

0 commit comments

Comments
 (0)