mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 22:58:02 +01:00
detector type bug fix
This commit is contained in:
@@ -391,6 +391,7 @@ int slsReceiverTCPIPInterface::set_detector_type(){
|
||||
sprintf(mess,"Unknown detector type: %d\n", dr);
|
||||
ret = FAIL;
|
||||
break;
|
||||
}
|
||||
if(ret != FAIL){
|
||||
#ifndef REST
|
||||
receiverBase = UDPInterface::create("standard");
|
||||
@@ -400,7 +401,7 @@ int slsReceiverTCPIPInterface::set_detector_type(){
|
||||
ret=receiverBase->setDetectorType(myDetectorType);
|
||||
retval = myDetectorType;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
//#ifdef VERBOSE
|
||||
|
||||
Reference in New Issue
Block a user