未验证 提交 2357842f 编写于 作者: S skawu 提交者: GitHub

没用使用RT_USING_HEAP宏时,增加一条语句用于消除此警告

没用使用RT_USING_HEAP宏时,components.c文件第211行会报警告,增加一条语句用于消除此警告(使用四个空格代替TAB)
上级 d4d22d34
...@@ -215,8 +215,8 @@ void rt_application_init(void) ...@@ -215,8 +215,8 @@ void rt_application_init(void)
main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20); main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20);
RT_ASSERT(result == RT_EOK); RT_ASSERT(result == RT_EOK);
/* if not define RT_USING_HEAP, using to eliminate the warning */ /* if not define RT_USING_HEAP, using to eliminate the warning */
(void)result; (void)result;
#endif #endif
rt_thread_startup(tid); rt_thread_startup(tid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册