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:
418c5be
)
修改ota限制的判读条件
3378/2
author
hcj
<1224667075@qq.com>
Mon, 27 Apr 2026 13:02:03 +0000
(21:02 +0800)
committer
hcj
<1224667075@qq.com>
Mon, 27 Apr 2026 13:02:03 +0000
(21:02 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_ota.c
patch
|
blob
|
history
diff --git
a/code/sdk/zhihui/leiniao/imsl_ln/ln_api_ota.c
b/code/sdk/zhihui/leiniao/imsl_ln/ln_api_ota.c
index
a3d51f2
..
a3d472f
100644
(file)
--- a/
code/sdk/zhihui/leiniao/imsl_ln/ln_api_ota.c
+++ b/
code/sdk/zhihui/leiniao/imsl_ln/ln_api_ota.c
@@
-190,7
+190,7
@@
static int ln_ota_target_is_1047(const char *target)
/* 1.0.47 仅当 Cat1 已先升到 Py 版 34 后才允许,否则需先走 Py 升级再继续 */
static int ln_ota_reject_1047_if_not_py34(const char *target)
{
- return ln_ota_target_is_1047(target) && (uapi_get_py_ver()
!=
34);
+ return ln_ota_target_is_1047(target) && (uapi_get_py_ver()
<
34);
}
//解析 OTA 任务 JSON,决定是否触发下载