Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ RTM_EXPORT(rt_hw_interrupt_enable);

rt_weak rt_bool_t rt_hw_interrupt_is_disabled(void)
{
return RT_FALSE;
// return RT_FALSE;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不应该是这样修改的,而是说由bsp或chip来实现这个rt_hw_interrupt_is_disabled函数,这里的实现只是一个例子,是weak弱符号方式的

return RT_TURE;
}
RTM_EXPORT(rt_hw_interrupt_is_disabled);
/**@}*/
Expand Down
Loading