未验证 提交 6deb233e 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3608 from BernardXiong/fix_kobject

[Kernel] Fix the maxlen issue in rt_object_get_pointers
......@@ -291,6 +291,8 @@ int rt_object_get_pointers(enum rt_object_class_type type, rt_object_t *pointers
pointers[index] = object;
index ++;
if (index >= maxlen) break;
}
rt_hw_interrupt_enable(level);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册