未验证 提交 9ff96d46 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

Update include/rtdef.h

Co-authored-by: Na1012112796 <1012112796@qq.com>
上级 32d325b7
......@@ -399,7 +399,7 @@ typedef struct rt_slist_node rt_slist_t; /**< Type for single lis
struct rt_object
{
#if RT_NAME_MAX == 0
char *name; /**< static name of kernel object */
const char *name; /**< static name of kernel object */
#else
char name[RT_NAME_MAX]; /**< dynamic name of kernel object */
#endif /* RT_NAME_MAX == 0 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册