summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authoryanghuang <[email protected]>2023-10-11 17:21:09 +0800
committerguo <[email protected]>2023-11-06 10:03:04 +0800
commitb51a3420b00502315e608dac0cb33917c235d277 (patch)
tree90195abd2761a463929679a86002f9f961a26e5a /libcpu
parentbb8667e13b728d0584c21c30daac9bc517b6e300 (diff)
[kernel] 解决rt_slist_for_each_entry宏不能正常遍历slist链表中元素的问题
因rt_slist_for_each_entry宏不能正常调用,在实际开发中去循环再调用rt_slist_entry很不简洁,所以修改了rt_slist_for_each_entry宏中关于链表next的判空处理。目前相关代码在GD32系统的MCU上均能正常工作,相关应用也在生产产品中经过验证。
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions