mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 00:55:11 +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);
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user