龙芯1C使用的libc初始化添加了dev的定义条件
This commit is contained in:
parent
12e0b7037e
commit
cc1a170ec7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue