提交 a27144eb 编写于 作者: L liang yongxiang

[libc] dependence update: rt_device_write()/rt_console_get_device() need...

[libc] dependence update: rt_device_write()/rt_console_get_device() need RT_USING_CONSOLE and RT_USING_DEVICE
上级 ec0e5489
......@@ -189,7 +189,7 @@ int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode)
if ((fh == STDOUT) || (fh == STDERR))
{
#ifndef RT_USING_CONSOLE
#if !defined(RT_USING_CONSOLE) || !defined(RT_USING_DEVICE)
return 0;
#else
#ifdef RT_USING_POSIX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册