summaryrefslogtreecommitdiff
path: root/src/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irq.c')
-rw-r--r--src/irq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irq.c b/src/irq.c
index 0073eaf529..4d431b2194 100644
--- a/src/irq.c
+++ b/src/irq.c
@@ -138,5 +138,10 @@ RTM_EXPORT(rt_interrupt_get_nest);
RTM_EXPORT(rt_hw_interrupt_disable);
RTM_EXPORT(rt_hw_interrupt_enable);
+rt_weak rt_bool_t rt_hw_interrupt_is_disabled(void)
+{
+ return RT_FALSE;
+}
+RTM_EXPORT(rt_hw_interrupt_is_disabled);
/**@}*/