fix for art-pi smart
This commit is contained in:
parent
98204c249b
commit
4ea463d83f
|
@ -20,19 +20,7 @@ int mnt_init(void)
|
||||||
rt_thread_mdelay(500);
|
rt_thread_mdelay(500);
|
||||||
|
|
||||||
int part_id = 0;
|
int part_id = 0;
|
||||||
#if 0
|
|
||||||
if (dfs_mount("emmc0", "/", "elm", 0, (void *)part_id) != 0)
|
|
||||||
{
|
|
||||||
rt_kprintf("Dir / emmc mount failed!\n");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
rt_kprintf("emmc file system initialization done!\n");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
part_id = 0;
|
|
||||||
if (dfs_mount("sd0", "/", "elm", 0, (void *)part_id) != 0)
|
if (dfs_mount("sd0", "/", "elm", 0, (void *)part_id) != 0)
|
||||||
{
|
{
|
||||||
rt_kprintf("Dir / mount failed!\n");
|
rt_kprintf("Dir / mount failed!\n");
|
||||||
|
|
Loading…
Reference in New Issue