From 312f3f473dc3b41b086c19bfbfb26dc8591cad64 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 11 May 2023 10:20:17 +0200 Subject: [PATCH] fix that only master starts second and not all (for start acq), typo with pos and masters list (#743) --- slsDetectorSoftware/src/DetectorImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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