Skip to content

Commit

Permalink
dfu: boot: mcuboot: fix boot_is_img_confirmed
Browse files Browse the repository at this point in the history
Fix image confirmed for Direct XIP.

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg authored and kartben committed Dec 5, 2024
1 parent 411c692 commit e3f9356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/dfu/boot/mcuboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ bool boot_is_img_confirmed(void)
const struct flash_area *fa;
int rc;

rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY, &fa);
rc = flash_area_open(ACTIVE_SLOT_FLASH_AREA_ID, &fa);
if (rc) {
return false;
}
Expand Down

0 comments on commit e3f9356

Please sign in to comment.