diff --git a/bsp_q7s/core/CoreController.cpp b/bsp_q7s/core/CoreController.cpp index 5ed5148d..4dfe1f91 100644 --- a/bsp_q7s/core/CoreController.cpp +++ b/bsp_q7s/core/CoreController.cpp @@ -1006,7 +1006,7 @@ ReturnValue_t CoreController::setBootCopyProtection(Chip targetChip, Copy target else if(selfCopy and (CURRENT_COPY == targetCopy)) { performOp = true; } - else if((targetChip == currentChip) and (targetCopy == currentCopy)) { + else if(not selfCopy and (targetChip == currentChip) and (targetCopy == currentCopy)) { performOp = true; } if(result != 0) {