Fixed shell.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@13981 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
64940cb4a7
commit
26a37f1bcb
|
@ -164,7 +164,8 @@ static void cmd_threads(BaseSequentialStream *chp, int argc, char *argv[]) {
|
|||
#endif
|
||||
chprintf(chp, "%08lx %08lx %08lx %4lu %4lu %9s %12s" SHELL_NEWLINE_STR,
|
||||
stklimit, (uint32_t)tp->ctx.sp, (uint32_t)tp,
|
||||
(uint32_t)tp->refs - 1, (uint32_t)tp->prio, states[tp->state],
|
||||
(uint32_t)tp->refs - 1,
|
||||
(uint32_t)tp->hdr.pqueue.prio, states[tp->state],
|
||||
tp->name == NULL ? "" : tp->name);
|
||||
tp = chRegNextThread(tp);
|
||||
} while (tp != NULL);
|
||||
|
|
Loading…
Reference in New Issue