提交 4f45c460 编写于 作者: P prife

use sd as '/' mount ponit

上级 89999486
......@@ -50,7 +50,8 @@ void rt_init_thread_entry(void *parameter)
#ifdef RT_USING_DFS_ELMFAT
/* mount sd card fatfs as root directory */
if (dfs_mount("sd0", "/disk/sd", "elm", 0, 0) == 0)
//if (dfs_mount("sd0", "/disk/sd", "elm", 0, 0) == 0)
if (dfs_mount("sd0", "/", "elm", 0, 0) == 0)
rt_kprintf("fatfs initialized!\n");
else
rt_kprintf("fatfs initialization failed!\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册