summaryrefslogtreecommitdiff
path: root/src/irq.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-04-12 23:08:40 +0800
committerMeco Man <[email protected]>2021-04-12 23:08:40 +0800
commit305f9946d844f624fedc20b171685701fe5a2bd3 (patch)
tree040e1f1e3d6ada437cef479edc04857b971714af /src/irq.c
parent0d21f37119ea1620770cc5ed9866d3dc180f4eed (diff)
clarify the context
Diffstat (limited to 'src/irq.c')
-rw-r--r--src/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irq.c b/src/irq.c
index 2d886d3eca..65fc2ea5e0 100644
--- a/src/irq.c
+++ b/src/irq.c
@@ -71,7 +71,7 @@ void rt_interrupt_enter(void)
RT_OBJECT_HOOK_CALL(rt_interrupt_enter_hook,());
rt_hw_interrupt_enable(level);
- RT_DEBUG_LOG(RT_DEBUG_IRQ, ("irq has come..., irq nest:%d\n",
+ RT_DEBUG_LOG(RT_DEBUG_IRQ, ("irq has come..., irq current nest:%d\n",
rt_interrupt_nest));
}
RTM_EXPORT(rt_interrupt_enter);
@@ -87,7 +87,7 @@ void rt_interrupt_leave(void)
{
rt_base_t level;
- RT_DEBUG_LOG(RT_DEBUG_IRQ, ("irq leave, irq nest:%d\n",
+ RT_DEBUG_LOG(RT_DEBUG_IRQ, ("irq is going to leave, irq current nest:%d\n",
rt_interrupt_nest));
level = rt_hw_interrupt_disable();