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

This reverts commit 9b4b8cb0ee.
This commit is contained in:
Xiang Xiao
2021-06-17 21:51:44 +08:00
committed by xiaoxiang
parent 2e6932316e
commit c1593c0f2f
+1 -1
View File
@@ -805,7 +805,7 @@ void nx_start(void)
/* Check stack in idle thread */
for (i = 1; i < CONFIG_MAX_TASKS && g_pidhash[i].tcb; i++)
for (i = 0; i < CONFIG_MAX_TASKS && g_pidhash[i].tcb; i++)
{
flags = enter_critical_section();