From 9dfe8e25c2ce1fe03ee4643e65491be1a1be1b7a Mon Sep 17 00:00:00 2001 From: sundm75 Date: Sun, 14 Jan 2018 08:42:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BE=99=E8=8A=AF1C=E4=BD=BF=E7=94=A8=E7=9A=84?= =?UTF-8?q?libc=E5=88=9D=E5=A7=8B=E5=8C=96=E6=B7=BB=E5=8A=A0=E4=BA=86dev?= =?UTF-8?q?=E7=9A=84=E5=AE=9A=E4=B9=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/newlib/libc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/libc/compilers/newlib/libc.c b/components/libc/compilers/newlib/libc.c index f8fbbb5e8f..6d6a7d734e 100644 --- a/components/libc/compilers/newlib/libc.c +++ b/components/libc/compilers/newlib/libc.c @@ -37,7 +37,7 @@ int libc_system_init(void) { -#ifdef RT_USING_DFS +#if defined(RT_USING_DFS) & defined(RT_USING_DFS_DEVFS) rt_device_t dev_console; dev_console = rt_console_get_device();