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.

Fixes #69297

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
(cherry picked from commit 94cd46d)
  • Loading branch information
nandojve committed May 7, 2024
1 parent 7250b23 commit 46523e5
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 46523e5

Please sign in to comment.