summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHubretXie <[email protected]>2018-12-23 00:35:08 +0800
committerGitHub <[email protected]>2018-12-23 00:35:08 +0800
commit49638e4ea51e439798589ce399c4f38e4b50ce3d (patch)
tree7bcb1d9a5f0f7efcb2506d80cf9e2bf0bbceec7b /src
parent57da7246d85f1a56f3ac6832cbaab575846cef1f (diff)
parent2defcb753ce9db576ea56dbb22c32b709b29a449 (diff)
Merge pull request #1 from RT-Thread/master
sync
Diffstat (limited to 'src')
-rw-r--r--src/scheduler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scheduler.c b/src/scheduler.c
index cd66284c7a..850c70306d 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -445,8 +445,8 @@ void rt_schedule(void)
/* switch to new thread */
RT_DEBUG_LOG(RT_DEBUG_SCHEDULER,
("[%d]switch to priority#%d "
- "thread:%.*s(sp:0x%p), "
- "from thread:%.*s(sp: 0x%p)\n",
+ "thread:%.*s(sp:0x%08x), "
+ "from thread:%.*s(sp: 0x%08x)\n",
rt_interrupt_nest, highest_ready_priority,
RT_NAME_MAX, to_thread->name, to_thread->sp,
RT_NAME_MAX, from_thread->name, from_thread->sp));