Skip to content

Commit bd22e1f

Browse files
committed
loopback has to be disabled when generator disabled
1 parent efce624 commit bd22e1f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ReadoutEquipmentRORC.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ ReadoutEquipmentRORC::ReadoutEquipmentRORC(ConfigFile &cfg, std::string name) :
156156
params.setGeneratorLoopback(AliceO2::roc::LoopbackMode::fromString(cfgGeneratorLoopback));
157157
params.setGeneratorPattern(AliceO2::roc::GeneratorPattern::fromString(cfgGeneratorPattern));
158158
params.setGeneratorRandomSizeEnabled(cfgGeneratorRandomSizeEnabled);
159-
}
159+
} else {
160+
// for some unknown reason, one has to explicitely disable the loopback when not using the generator
161+
params.setGeneratorLoopback(AliceO2::roc::LoopbackMode::None);
162+
}
160163

161164
// card readout mode : experimental, not needed
162165
// params.setReadoutMode(AliceO2::roc::ReadoutMode::fromString(cfgReadoutMode));

0 commit comments

Comments
 (0)