Explorar o código

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

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
c719de469a
Modificáronse 1 ficheiros con 1 adicións e 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);