1、删除了crc校验判断
This commit is contained in:
+4
-4
@@ -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();
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user