mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 21:18:23 +00: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:
parent
cfcef34ad6
commit
9b4b8cb0ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue