From ec6823540614c18ddd6a9daeed135cf1f4016b39 Mon Sep 17 00:00:00 2001 From: chenzihan Date: Mon, 19 Sep 2022 12:12:56 +0800 Subject: [PATCH] Signed-off-by: chenzihan fix:fix --- zh-cn/device-dev/subsystems/subsys-ota-guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/device-dev/subsystems/subsys-ota-guide.md b/zh-cn/device-dev/subsystems/subsys-ota-guide.md index ae4776e6f2..e96b81ac2b 100644 --- a/zh-cn/device-dev/subsystems/subsys-ota-guide.md +++ b/zh-cn/device-dev/subsystems/subsys-ota-guide.md @@ -72,7 +72,7 @@ OTA 的升级原理是利用升级包制作工具,将编译出的版本打包   5.2 API 应用定制场景 -  5.2 AB 热升级场景 +  5.2 AB 热升级场景 ### 开发步骤 @@ -518,8 +518,8 @@ const char *get_local_version(void) - JS API 通过 update_service 模块处理AB热升级相关流程 1.升级包安装进度显示接口: - ```java - on(eventType: 'upgradeProgress', callback: UpdateProgressCallback): void; + ```cpp + on(eventType: "upgradeProgress", callback: UpdateProgressCallback): void; ``` 2.设置激活策略(立即重启,夜间重启,随下次重启激活)接口: -- GitLab