Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update irq.c 解决K210 系统无法正常启动的问题 #9780

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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