From 44ac315b73e3431bcd5adc04e7972ccdebdc77f3 Mon Sep 17 00:00:00 2001 From: Gerson Fernando Budke Date: Fri, 3 May 2024 20:10:43 +0200 Subject: [PATCH] mgmt: updatehub: Fix mark for update This fixes compatibility with recent bootutils API. Signed-off-by: Gerson Fernando Budke --- subsys/mgmt/updatehub/updatehub_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/mgmt/updatehub/updatehub_storage.c b/subsys/mgmt/updatehub/updatehub_storage.c index d18b24be4bc91..81886a9044e23 100644 --- a/subsys/mgmt/updatehub/updatehub_storage.c +++ b/subsys/mgmt/updatehub/updatehub_storage.c @@ -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)