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

Add macro to check if swap_type is an upgrade



This allows refactoring a check that was done in multiple places looking
for the same swap types.

Also fixes an issue where dependency checks would be run if a swap type
had a value that indicates fail.

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