diff --git a/slsDetectorSoftware/src/DetectorImpl.cpp b/slsDetectorSoftware/src/DetectorImpl.cpp index 43b9e168b..15bde3697 100644 --- a/slsDetectorSoftware/src/DetectorImpl.cpp +++ b/slsDetectorSoftware/src/DetectorImpl.cpp @@ -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