mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user