[components/drivers/usb/cherryusb/common] modify macro-define: __USED…#11501
[components/drivers/usb/cherryusb/common] modify macro-define: __USED…#11501skllii wants to merge 2 commits into
Conversation
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: componentsReviewers: @Maihuanyi Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-06-18 09:08 CST)
📝 Review Instructions
|
RT-Thread Version
master
Hardware Type/Architectures
ARM contex-M4
Develop Toolchain
IAR
Describe the bug
usb_util.h 宏定义__USED针对__ICCARM_V8的定义是无效的,导致CLASS_INFO_DEFINE失效,会被编译器优化。
__ICCARM_V8应该使用__root
#define __USED __root