aboutsummaryrefslogtreecommitdiffstats
path: root/demos/SPC5/RT-SPC56EL-EVB/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/SPC5/RT-SPC56EL-EVB/main.c')
-rw-r--r--demos/SPC5/RT-SPC56EL-EVB/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/SPC5/RT-SPC56EL-EVB/main.c b/demos/SPC5/RT-SPC56EL-EVB/main.c
index deac100c5..b17e1e523 100644
--- a/demos/SPC5/RT-SPC56EL-EVB/main.c
+++ b/demos/SPC5/RT-SPC56EL-EVB/main.c
@@ -49,7 +49,7 @@ static void cmd_threads(BaseSequentialStream *chp, int argc, char *argv[]) {
chprintf(chp, " addr stack prio refs state time\r\n");
tp = chRegFirstThread();
do {
- chprintf(chp, "%.8lx %.8lx %4lu %4lu %9s\r\n",
+ chprintf(chp, "%08lx %08lx %4lu %4lu %9s\r\n",
(uint32_t)tp, (uint32_t)tp->p_ctx.sp,
(uint32_t)tp->p_prio, (uint32_t)(tp->p_refs - 1),
states[tp->p_state]);