summaryrefslogtreecommitdiff
path: root/src/irq.c
diff options
context:
space:
mode:
authorfenghuijie <[email protected]>2021-07-05 18:33:22 +0800
committerfenghuijie <[email protected]>2021-07-05 18:33:22 +0800
commit0015af02e4f08ab47f2d2fefcb7c1aca1682bfda (patch)
treefded7632c1ea03699173ce94ba627544669786f1 /src/irq.c
parente933c1f6105caf4e68bd57bc5521767b32063a5f (diff)
调整代码,以支持cpu usage
Diffstat (limited to 'src/irq.c')
-rw-r--r--src/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irq.c b/src/irq.c
index e89b8504dc..6ddcb3dd4a 100644
--- a/src/irq.c
+++ b/src/irq.c
@@ -89,8 +89,8 @@ void rt_interrupt_leave(void)
rt_interrupt_nest));
level = rt_hw_interrupt_disable();
- rt_interrupt_nest --;
RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,());
+ rt_interrupt_nest --;
rt_hw_interrupt_enable(level);
}
RTM_EXPORT(rt_interrupt_leave);