提交 df3a9e57 编写于 作者: 还_没_想_好's avatar 还_没_想_好

[src][irq] 添加 WEAK 修饰,中断嵌套数可由外部提供。

上级 b94e84b9
......@@ -105,7 +105,7 @@ RTM_EXPORT(rt_interrupt_leave);
*
* @return the number of nested interrupts.
*/
rt_uint8_t rt_interrupt_get_nest(void)
RT_WEAK rt_uint8_t rt_interrupt_get_nest(void)
{
rt_uint8_t ret;
rt_base_t level;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册