bugfix core controller
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2021-08-19 17:31:13 +02:00
parent 24ecfe84ae
commit d1afdfe578
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -1000,13 +1000,13 @@ ReturnValue_t CoreController::setBootCopyProtection(Chip targetChip, Copy target
performOp = true;
}
}
else if(selfChip and (CURRENT_CHIP == targetChip)) {
else if(selfChip and (currentChip == targetChip)) {
performOp = true;
}
else if(selfCopy and (CURRENT_COPY == targetCopy)) {
else if(selfCopy and (currentCopy == targetCopy)) {
performOp = true;
}
else if(not selfCopy and (targetChip == currentChip) and (targetCopy == currentCopy)) {
else if((targetChip == currentChip) and (targetCopy == currentCopy)) {
performOp = true;
}
if(result != 0) {