Explorar el Código

fix: lfs格式化失败后不需要1秒那么久,100ms够了

Wendal Chen hace 2 años
padre
commit
c719de469a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/port/lfs_port.c

+ 1 - 1
app/port/lfs_port.c

@@ -182,7 +182,7 @@ int LFS_Init(void)
     // this should only happen on the first boot
     if (err)
     {
-        luat_timer_mdelay(1000);
+        luat_timer_mdelay(100);
         LLOGI("lfs mount fail ret=%d , exec format", err);
         err = lfs_format(&lfs, &lfs_cfg);
         //printf("lfs_format %d\r\n",err);