fix that only master starts second and not all (for start acq), typo with pos and masters list (#743)

This commit is contained in:
maliakal_d 2023-05-11 10:20:17 +02:00 committed by GitHub
parent 5871086cd6
commit 312f3f473d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1311,7 +1311,7 @@ void DetectorImpl::startAcquisition(const bool blocking, Positions pos) {
if (!masters.empty()) {
Parallel((blocking ? &Module::startAndReadAll
: &Module::startAcquisition),
pos);
masters);
}
}
// all in parallel
@ -1385,7 +1385,7 @@ void DetectorImpl::processData(bool receiver) {
if (fgetc(stdin) == 'q') {
LOG(logINFO)
<< "Caught the command to stop acquisition";
Parallel(&Module::stopAcquisition, {});
stopDetector({});
}
}
// get and print progress