mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
example
This commit is contained in:
parent
21ca289ebf
commit
287cd118b0
@ -273,19 +273,10 @@ bool multiSlsDetector::isAcquireReady() {
|
||||
}
|
||||
|
||||
int multiSlsDetector::checkVersionCompatibility(portType t, int detPos) {
|
||||
|
||||
// single
|
||||
if (detPos >= 0) {
|
||||
|
||||
if(isDetectorIndexOutOfBounds(detPos))
|
||||
return -1;
|
||||
|
||||
int ret = detectors[detPos]->checkVersionCompatibility(t);
|
||||
if (detectors[detPos]->getErrorMask())
|
||||
setErrorMask(getErrorMask() | (1 << detPos));
|
||||
return ret;
|
||||
return = detectors[detPos]->checkVersionCompatibility(t);
|
||||
}
|
||||
|
||||
// multi
|
||||
return parallelCallDetectorMember(&slsDetector::checkVersionCompatibility, t);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user