gotthard2: fix in rxr for gotthard2

This commit is contained in:
2020-05-26 17:44:31 +02:00
parent e229fee6ba
commit e0ea08332f
2 changed files with 4 additions and 4 deletions

View File

@ -417,7 +417,7 @@ int ClientInterface::setup_receiver(Interface &socket) {
// acquisition parameters
impl()->setNumberOfFrames(arg.frames);
impl()->setNumberOfTriggers(arg.triggers);
if (myDetectorType == GOTTHARD) {
if (myDetectorType == GOTTHARD2) {
impl()->setNumberOfBursts(arg.bursts);
}
if (myDetectorType == MOENCH || myDetectorType == CHIPTESTBOARD) {
@ -503,7 +503,7 @@ int ClientInterface::setup_receiver(Interface &socket) {
int ncounters = __builtin_popcount(arg.countermask);
impl()->setNumberofCounters(ncounters);
}
if (myDetectorType == GOTTHARD) {
if (myDetectorType == GOTTHARD2) {
impl()->setBurstMode(arg.burstType);
}