aboutsummaryrefslogtreecommitdiffstats
path: root/demos/SPC5/RT-SPC564A-EVB/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-04 07:47:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-04 07:47:23 +0000
commitd05fb1e4fff0f89de2c6a68ee2b989770f769f24 (patch)
tree806a52042fddcc24676132bf23f0e1ceb9c21a97 /demos/SPC5/RT-SPC564A-EVB/main.c
parent96efc48888ea4230798d1e1c9667424a3d61f519 (diff)
downloadChibiOS-d05fb1e4fff0f89de2c6a68ee2b989770f769f24.tar.gz
ChibiOS-d05fb1e4fff0f89de2c6a68ee2b989770f769f24.tar.bz2
ChibiOS-d05fb1e4fff0f89de2c6a68ee2b989770f769f24.zip
Fixed bug #538.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7358 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/SPC5/RT-SPC564A-EVB/main.c')
-rw-r--r--demos/SPC5/RT-SPC564A-EVB/main.c2
1 files changed, 1 insertions, 1 deletions
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]);