We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3640ff commit 55306adCopy full SHA for 55306ad
components/finsh/cmd.c
@@ -262,7 +262,7 @@ long list_thread(void)
262
#else
263
ptr = (rt_uint8_t *)thread->stack_addr;
264
while (*ptr == '#') ptr ++;
265
- rt_kprintf(" 0x%08x 0x%08x %02d%% 0x%08x %s %p",
+ rt_kprintf(" 0x%08x 0x%08x %3d%% 0x%08x %s %p",
266
thread->stack_size + ((rt_ubase_t)thread->stack_addr - (rt_ubase_t)thread->sp),
267
thread->stack_size,
268
(thread->stack_size - ((rt_ubase_t) ptr - (rt_ubase_t) thread->stack_addr)) * 100
0 commit comments