龙芯1C使用的libc初始化添加了dev的定义条件

This commit is contained in:
sundm75 2018-01-14 09:07:00 +08:00
parent 12e0b7037e
commit cc1a170ec7
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
int libc_system_init(void) int libc_system_init(void)
{ {
#ifdef RT_USING_DFS #if defined(RT_USING_DFS) & defined(RT_USING_DFS_DEVFS)
rt_device_t dev_console; rt_device_t dev_console;
dev_console = rt_console_get_device(); dev_console = rt_console_get_device();