Skip to content

Commit 94cd46d

Browse files
nandojveaescolar
authored andcommitted
mgmt: updatehub: Fix mark for update
This fixes compatibility with recent bootutils API. Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
1 parent 7dcaa9c commit 94cd46d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/mgmt/updatehub/updatehub_storage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int updatehub_storage_mark_partition_to_upgrade(struct updatehub_storage_context
7373
return -EINVAL;
7474
}
7575

76-
return boot_request_upgrade_multi(partition_id, BOOT_UPGRADE_TEST);
76+
return boot_request_upgrade(BOOT_UPGRADE_TEST);
7777
}
7878

7979
int updatehub_storage_mark_partition_as_confirmed(const uint32_t partition_id)

0 commit comments

Comments
 (0)