mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Revert "sched/init: don't check remain stack for idle task"
This reverts commit 9b4b8cb0ee.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user