From d05fb1e4fff0f89de2c6a68ee2b989770f769f24 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 4 Oct 2014 07:47:23 +0000 Subject: Fixed bug #538. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7358 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/SPC5/RT-SPC564A-EVB/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/SPC5/RT-SPC564A-EVB/main.c') diff --git a/demos/SPC5/RT-SPC564A-EVB/main.c b/demos/SPC5/RT-SPC564A-EVB/main.c index 93a001ffa..e90e683e3 100644 --- a/demos/SPC5/RT-SPC564A-EVB/main.c +++ b/demos/SPC5/RT-SPC564A-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]); -- cgit v1.2.3