Skip to content

Commit 795e268

Browse files
Update max links for dummy card
1 parent a6f43aa commit 795e268

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CommandLineUtilities/AliceLowlevelFrontend/ProgramAliceLowlevelFrontendServer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class ProgramAliceLowlevelFrontendServer: public AliceO2::Common::Program
229229
} else if (card.cardType == CardType::Crorc) {
230230
links = {0};
231231
} else if (card.cardType == CardType::Dummy) {
232-
links = {0, 42};
232+
links = {0};
233233
}
234234

235235
for (auto link : links) {

src/CommandLineUtilities/AliceLowlevelFrontend/Sca.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Sca::Sca(RegisterReadWriteInterface &bar2, CardType::type cardType, int link) :
5050
} else if (cardType == CardType::Crorc) {
5151
setOffset(Registers::CRORC_BASE_INDEX, Registers::CRORC_LINK_OFFSET, Registers::CRORC_MAX_LINKS);
5252
} else if (cardType == CardType::Dummy){
53-
setOffset(0, 0x100, 43);
53+
setOffset(0, 0x100, 1);
5454
} else {
5555
throw std::runtime_error("Unknown card type, could not calculate SCA offset");
5656
}

0 commit comments

Comments
 (0)