Merge #1797 into sdk650pathc0423 from refs/changes/1797/head 1801/target/1
author袁清梦 <3449750381@qq.com>
Wed, 28 May 2025 02:10:06 +0000 (02:10 +0000)
committer袁清梦 <3449750381@qq.com>
Wed, 28 May 2025 02:10:06 +0000 (02:10 +0000)
Code review from 袁清梦

* refs/changes/1797/head: (2 commits squashed)

  - 增加恢复出厂栈大小;后续需要重新起线程进行恢复出厂

  - Merge branch &#39;sdk650pathc0423&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk650pathc0423

Signed-off-by: Caisking <3449750381@qq.com>
Merged-by: Caisking <3449750381@qq.com>
link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/1797
code/sdk/zhihui/utils/custom_cmd_service.c
code/sdk/zhihui/utils/custom_utils.c

index 65faf31..c7d74b1 100644 (file)
@@ -397,7 +397,7 @@ static void custom_cmd_service_check_task(void const *arg)
     }
 }
 #define CUSTOM_CMD_APP_BOARD_MSG_COUNT 10
-#define CUSTOM_CMD_APP_BOARD_TASK_SIZE 0x1000
+#define CUSTOM_CMD_APP_BOARD_TASK_SIZE 0x2500
 #define CUSTOM_CMD_BOARD_TASK_PRIO 7
 void create_custom_cmd_queue(void)
 {
index d1c0869..93fe061 100644 (file)
@@ -2138,8 +2138,8 @@ int removeFilesInFolder(const char *folderPath)
                 ret = remove(filePath);
             if(ret != 0)
                 PRINT("%s remove failed !!! \r\n",filePath);
-            else
-                PRINT("%s remove succeed !!! \r\n",filePath);
+            // else
+            //     // PRINT("%s remove succeed !!! \r\n",filePath);
         }
     }
 
@@ -2164,12 +2164,12 @@ int uapi_delete_files(const char *file_path)
         ret = remove(file_path);
     if(ret != 0)
     {
-        PRINT("%s remove failed !!! \r\n",file_path);
+        // PRINT("%s remove failed !!! \r\n",file_path);
         return 0;
     }
     else
     {
-        PRINT("%s remove succeed !!! \r\n",file_path);
+        // PRINT("%s remove succeed !!! \r\n",file_path);
         return 1;
     }
         
@@ -2367,13 +2367,13 @@ void uapi_restore_factory_setting(void)
                         "/user/system/kvstore",
                         "/user/music/user_music",
                         "/user/music/recording",
-                        "/user/dial/custom_dial/", //自定义表盘
-                        "/user/dial/offline_dial/",//离线表盘
+                        "/user/dial/custom_dial", //自定义表盘
+                        "/user/dial/offline_dial",//离线表盘
                         // EXC_TAR_PATH,        //死机文件
                         "/user/log/",//离线日志
-                        "/user/app_store/",//应用市场安装包文件
-                        "/user/app/",//应用文件解压文件
-                        "/user/alipay/",//支付宝文件
+                        "/user/app_store",//应用市场安装包文件
+                        "/user/app",//应用文件解压文件
+                        "/user/alipay",//支付宝文件
                     };
 
 #else