Loading boot/bootutil/src/loader.c +1 −2 Changes for boot/bootutil/src/loader.c: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2266,8 +2266,7 @@ boot_prepare_image_for_update(struct boot_loader_state *state, boot_validate_slot(state, BOOT_PRIMARY_SLOT, bs) != 0) { if (boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC && boot_validate_slot(state, BOOT_SECONDARY_SLOT, bs) == 0) { boot_validate_slot(state, BOOT_SECONDARY_SLOT, bs) == 0) { /* Set swap type to REVERT to overwrite the primary * slot with the image contained in secondary slot * and to trigger the explicit setting of the Loading Loading
boot/bootutil/src/loader.c +1 −2 Changes for boot/bootutil/src/loader.c: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2266,8 +2266,7 @@ boot_prepare_image_for_update(struct boot_loader_state *state, boot_validate_slot(state, BOOT_PRIMARY_SLOT, bs) != 0) { if (boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC && boot_validate_slot(state, BOOT_SECONDARY_SLOT, bs) == 0) { boot_validate_slot(state, BOOT_SECONDARY_SLOT, bs) == 0) { /* Set swap type to REVERT to overwrite the primary * slot with the image contained in secondary slot * and to trigger the explicit setting of the Loading