fix for art-pi smart

This commit is contained in:
xiao-mang 2024-04-19 17:26:23 +08:00 committed by Rbb666
parent 98204c249b
commit 4ea463d83f
1 changed files with 0 additions and 12 deletions

View File

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