From f6e7aa1acdf40bf0956bbfa7689a1873250db19f Mon Sep 17 00:00:00 2001 From: cinsights Date: Sun, 20 Dec 2020 04:13:33 +0000 Subject: [PATCH] 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 --- os/various/shell/shell_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/various/shell/shell_cmd.c b/os/various/shell/shell_cmd.c index 525f26980..bc7668620 100644 --- a/os/various/shell/shell_cmd.c +++ b/os/various/shell/shell_cmd.c @@ -164,7 +164,7 @@ 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);