1、恢复CRC32校验判断

This commit is contained in:
2026-06-22 09:57:28 +08:00
parent 67fc98f998
commit 74960e18ff
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -195,15 +195,15 @@ int app_update_entry(struct pt *pt)
if (dev_boot_check_app())
{
// uint32_t crc_rom = dev_boot_get_app_crc32(g_update.cfg.AppSize);
uint32_t crc_rom = dev_boot_get_app_crc32(g_update.cfg.AppSize);
// if (crc_rom == g_update.cfg.Crc32Check)
// {
if (crc_rom == g_update.cfg.Crc32Check)
{
g_update.isNeedUpdate = 0;
dev_boot_run_app();
// }
}
}
}