恢复存储增加jsapp解压文件删除
authorCaisking <Casiking@zhihuishixun.com>
Sat, 24 May 2025 02:45:53 +0000 (10:45 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Sat, 24 May 2025 02:45:53 +0000 (10:45 +0800)
code/sdk/zhihui/utils/custom_utils.c

index 8c60dad..a4b50da 100644 (file)
@@ -2373,7 +2373,8 @@ void uapi_restore_factory_setting(void)
                         "/user/dial/offline_dial/",//离线表盘
                         // EXC_TAR_PATH,        //死机文件
                         "/user/log/",//离线日志
-                        "/user/app_store/",//应用市场文件
+                        "/user/app_store/",//应用市场安装包文件
+                        "/user/app/",//应用文件解压文件
                     };
 
 #else
@@ -2487,7 +2488,7 @@ uint32_t uapi_calendar_recover_date(void)
 
 void uapi_ppg_get_id(uint8_t *chip_id)
 {
-#ifdef SUPORT_PPG_SERVICE
+#ifdef SUPPORT_PPG_SERVICE
     *chip_id = ppg_get_chip_id();
 #endif
 #ifdef PPG_VC9202
@@ -3216,7 +3217,7 @@ void uapi_aging_test(uint32_t test_time)
         uapi_check_spk(1);
         LOS_Msleep(6000);
         uapi_check_spk(0);
-#ifdef SUPORT_PPG_SERVICE
+#ifdef SUPPORT_PPG_SERVICE
         send_ppg_cmd_msg(PPG_SERVICE_CMD_TYPE_DO_PPG_TEST);
         LOS_Msleep(6000);
         send_ppg_cmd_msg(PPG_SERVICE_CMD_TYPE_STOP_PPG_TEST);