关机添加文件索引同步,解决关机后开机mount特别慢问题
authorSnickerSun <snickersun@163.com>
Sun, 20 Oct 2024 05:11:34 +0000 (13:11 +0800)
committerSnickerSun <snickersun@163.com>
Sun, 20 Oct 2024 05:11:34 +0000 (13:11 +0800)
code/sdk/drivers/peripheral/utils/custom_utils.c

index eacf76a..c90deee 100644 (file)
@@ -172,7 +172,9 @@ void uapi_poweroff_device(void)
 
     //关机保存
     start_report_log();
-
+    osDelay(50);
+    reset_deal_with_fs();
+    osDelay(50);
     uapi_sys_shipmode(0);
 }
 //重启