未验证 提交 ad1d6600 编写于 作者: B Bluebear233 提交者: GitHub

Update libc.c

修复没有使用RT_USING_CONSOLE时,libc.c编译报错
上级 3a5d9e73
......@@ -39,7 +39,7 @@ int _EXFUN(putenv,(char *__string));
int libc_system_init(void)
{
#if defined(RT_USING_DFS) & defined(RT_USING_DFS_DEVFS)
#if defined(RT_USING_DFS) & defined(RT_USING_DFS_DEVFS) & defined(RT_USING_CONSOLE)
rt_device_t dev_console;
dev_console = rt_console_get_device();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册