阅读代码: ah -a 添加img头时 不为fw时会被过滤掉

This commit is contained in:
2024-10-24 17:47:03 +08:00
parent 75611fdc4b
commit 4dd38bcc44
3 changed files with 22 additions and 6 deletions

View File

@@ -712,6 +712,7 @@ int ah_addHeader(char argc, char *argv[])
for(cnt = 0; cnt < cfg.image_num; cnt++)
{
// 不为fw 或 是fw且为快速启动时 不添加img_header
if(((cfg.image[cnt].image_type != imgV1FRWPLC) &&
(cfg.image[cnt].image_type != imgV1FRWCUS)) ||
((cfg.image[cnt].image_type == imgV1FRWCUS) &&