Correct reference to thread prio in shell_cmd.c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13970 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
ea9c9860d8
commit
f6e7aa1acd
|
@ -164,7 +164,7 @@ static void cmd_threads(BaseSequentialStream *chp, int argc, char *argv[]) {
|
||||||
#endif
|
#endif
|
||||||
chprintf(chp, "%08lx %08lx %08lx %4lu %4lu %9s %12s" SHELL_NEWLINE_STR,
|
chprintf(chp, "%08lx %08lx %08lx %4lu %4lu %9s %12s" SHELL_NEWLINE_STR,
|
||||||
stklimit, (uint32_t)tp->ctx.sp, (uint32_t)tp,
|
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->name == NULL ? "" : tp->name);
|
||||||
tp = chRegNextThread(tp);
|
tp = chRegNextThread(tp);
|
||||||
} while (tp != NULL);
|
} while (tp != NULL);
|
||||||
|
|
Loading…
Reference in New Issue