Skip to content

Commit

Permalink
Merge pull request #134 from NordicSemiconductor/bugfix/suit
Browse files Browse the repository at this point in the history
SUIT validation condition fixed
  • Loading branch information
philips77 authored Jan 5, 2024
2 parents e2ea5dd + ccdcd7d commit 866c6cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public void onResponse(@NotNull final McuMgrImageStateResponse response) {
}
if (!found) {
performer.enqueue(new Upload(mcuMgrImage.getData(), imageIndex));
if (mcuMgrImage.needsConfirmation() && !allowRevert || mode == Mode.NONE) {
if (mcuMgrImage.needsConfirmation() && (!allowRevert || mode == Mode.NONE)) {
resetRequired = true;
}
}
Expand Down

0 comments on commit 866c6cc

Please sign in to comment.