We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72f4f3 commit e72408eCopy full SHA for e72408e
boot/bootutil/src/loader.c
@@ -1461,7 +1461,7 @@ boot_validated_swap_type(struct boot_loader_state *state,
1461
1462
#if defined(PM_S1_ADDRESS) || defined(PM_CPUNET_B0N_ADDRESS)
1463
const struct flash_area *secondary_fa =
1464
- BOOT_IMG_AREA(state, BOOT_SECONDARY_SLOT);
+ BOOT_IMG_AREA(state, BOOT_SLOT_SECONDARY);
1465
struct image_header *hdr = boot_img_hdr(state, BOOT_SECONDARY_SLOT);
1466
uint32_t reset_addr = 0;
1467
int rc = 0;
0 commit comments