sched/init: don't check remain stack for idle task

N/A

Change-Id: I0bd5808efabd395157d2530f2423b18f0c1eeabd
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong
2021-05-10 20:05:09 +08:00
committed by dongjiuzhu1
parent cfcef34ad6
commit 9b4b8cb0ee
+1 -1
View File
@@ -792,7 +792,7 @@ void nx_start(void)
/* Check stack in idle thread */
for (i = 0; i < CONFIG_MAX_TASKS && g_pidhash[i].tcb; i++)
for (i = 1; i < CONFIG_MAX_TASKS && g_pidhash[i].tcb; i++)
{
flags = enter_critical_section();