mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-26 14:11:18 +01:00
REST implementation removed from slsReceiver
This commit is contained in:
@@ -761,9 +761,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)
|
||||
@@ -771,7 +770,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