projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee4290
)
ota重启加快logo显示速度
author
SnickerSun
<snickersun@163.com>
Sat, 26 Oct 2024 08:33:34 +0000
(16:33 +0800)
committer
SnickerSun
<snickersun@163.com>
Sat, 26 Oct 2024 08:33:34 +0000
(16:33 +0800)
code/sdk/drivers/peripheral/utils/custom_utils.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/utils/custom_utils.c
b/code/sdk/drivers/peripheral/utils/custom_utils.c
index
e3ea3cc
..
569d2c7
100644
(file)
--- a/
code/sdk/drivers/peripheral/utils/custom_utils.c
+++ b/
code/sdk/drivers/peripheral/utils/custom_utils.c
@@
-490,6
+490,12
@@
errcode_t uaip_cmd_update_request(void)
uapi_calendar_store_date();
update_version_report_log();//版本升级记录
+
+ //重启前要保存时间
+ uapi_calendar_store_date();
+ osDelay(50);
+ reset_deal_with_fs();
+ osDelay(50);
/* IOT设备重启 */
upg_reboot();
}