未验证 提交 34fa16cb 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2846 from enkiller/irq

[src][irq] 添加 WEAK 修饰,中断嵌套数可由外部提供。
......@@ -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.
先完成此消息的编辑!
想要评论请 注册