mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 16:48:01 +02:00
merge conflict sorted, removing rest
This commit is contained in:
@ -776,9 +776,8 @@ int slsReceiverTCPIPInterface::set_detector_type(){
|
||||
break;
|
||||
}
|
||||
if(ret == OK) {
|
||||
#ifndef REST
|
||||
if(receiverBase == NULL){
|
||||
receiverBase = UDPInterface::create("standard");
|
||||
receiverBase = UDPInterface::create();
|
||||
if(startAcquisitionCallBack)
|
||||
receiverBase->registerCallBackStartAcquisition(startAcquisitionCallBack,pStartAcquisition);
|
||||
if(acquisitionFinishedCallBack)
|
||||
@ -786,7 +785,6 @@ int slsReceiverTCPIPInterface::set_detector_type(){
|
||||
if(rawDataReadyCallBack)
|
||||
receiverBase->registerCallBackRawDataReady(rawDataReadyCallBack,pRawDataReady);
|
||||
}
|
||||
#endif
|
||||
myDetectorType = dr;
|
||||
ret = receiverBase->setDetectorType(myDetectorType);
|
||||
retval = myDetectorType;
|
||||
|
Reference in New Issue
Block a user