mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 19:10: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);
|
sprintf(mess,"Unknown detector type: %d\n", dr);
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
if(ret != FAIL){
|
if(ret != FAIL){
|
||||||
#ifndef REST
|
#ifndef REST
|
||||||
receiverBase = UDPInterface::create("standard");
|
receiverBase = UDPInterface::create("standard");
|
||||||
@ -400,7 +401,7 @@ int slsReceiverTCPIPInterface::set_detector_type(){
|
|||||||
ret=receiverBase->setDetectorType(myDetectorType);
|
ret=receiverBase->setDetectorType(myDetectorType);
|
||||||
retval = myDetectorType;
|
retval = myDetectorType;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//#ifdef VERBOSE
|
//#ifdef VERBOSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user