Merge pull request #1166 from sundm75/sundm75

龙芯1C使用的libc初始化添加了dev的定义条件
This commit is contained in:
Bernard Xiong 2018-01-14 14:56:02 +08:00 committed by GitHub
commit e14d030de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();