xtensa_dumpstate.c: Fix the name of the TCB variable when dumping the
backtrace. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
1692aa7894
commit
9f4d7e4767
@ -74,7 +74,7 @@ static void up_taskdump(FAR struct tcb_s *tcb, FAR void *arg)
|
||||
|
||||
#if defined(CONFIG_XTENSA_DUMPBT_ON_ASSERT) && \
|
||||
defined(CONFIG_SCHED_BACKTRACE)
|
||||
sched_dumpstack(rtcb->pid);
|
||||
sched_dumpstack(tcb->pid);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user