Browse Source

fix for art-pi smart

xiao-mang 1 year ago
parent
commit
4ea463d83f
1 changed files with 0 additions and 12 deletions
  1. 0 12
      bsp/nxp/imx/imx6ull-smart/applications/mnt.c

+ 0 - 12
bsp/nxp/imx/imx6ull-smart/applications/mnt.c

@@ -20,19 +20,7 @@ int mnt_init(void)
     rt_thread_mdelay(500);
 
     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)
     {
         rt_kprintf("Dir / mount failed!\n");