mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 11:00:42 +02:00
detector type bug fix
This commit is contained in:
parent
58bfa296be
commit
db54fbddde
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user