summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSummerGift <[email protected]>2018-12-20 13:49:55 +0800
committerSummerGift <[email protected]>2018-12-20 13:50:00 +0800
commit29fd279be133e569d914b1ad3bf64a4f48cdf671 (patch)
tree5e4891ed491db8bd5a0b1b81fd7d7a22b93a6b13 /src
parentc4118f58324563f3aa95afa3e18e401a7f54156f (diff)
parenta12591e37e219ecf374f5546f1bee4be97ebe531 (diff)
Merge remote-tracking branch 'remotes/origin/master' into add_stm32_new_framework
# Conflicts: # bsp/stm32/README.md # bsp/stm32/libraries/HAL_Drivers/drv_config.h
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));