Skip to content
Commit 75e9a59d authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Remove boot_swap_type usage in the bootloader



`boot_swap_type_multi` should be used instead. The `BOOT_CURR_IMG` macro
already returns the correct value in single image mode.

For compatibility with external tools like mcumgr, `boot_swap_type`
remains available and always returns the swap type of image 0.

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 233af7d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment