mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-02 10:50:05 +02:00
fix that only master starts second and not all (for start acq), typo with pos and masters list (#743)
This commit is contained in:
parent
5871086cd6
commit
312f3f473d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user