diff options
author | Moral-Hao <sihunzhilei@126.com> | 2023-11-16 22:53:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 22:53:27 +0300 |
commit | 5f2bb1b48b6dcd33bcec4309e2df3448a64a7d67 (patch) | |
tree | 8162bc49e287c270d246cc16c2230d4fc60814a0 | |
parent | dc09a3dd5144c4033607565c71b9919900f95cff (diff) |
In smp, every core has a idle task. (#893)
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
-rw-r--r-- | tasks.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |