Skip to content

Commit

Permalink
mgmt: updatehub: Fix mark for update
Browse files Browse the repository at this point in the history
This fixes compatibility with recent bootutils API.

Signed-off-by: Gerson Fernando Budke <[email protected]>
(cherry picked from commit 94cd46d)
  • Loading branch information
nandojve authored and github-actions[bot] committed May 7, 2024
1 parent 0e0cd2a commit cfc93c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/mgmt/updatehub/updatehub_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int updatehub_storage_mark_partition_to_upgrade(struct updatehub_storage_context
return -EINVAL;
}

return boot_request_upgrade_multi(partition_id, BOOT_UPGRADE_TEST);
return boot_request_upgrade(BOOT_UPGRADE_TEST);
}

int updatehub_storage_mark_partition_as_confirmed(const uint32_t partition_id)
Expand Down

0 comments on commit cfc93c3

Please sign in to comment.