diff --git a/slsDetectorSoftware/slsReceiver/Makefile b/slsDetectorSoftware/slsReceiver/Makefile index c53c56116..d603db3f1 100644 --- a/slsDetectorSoftware/slsReceiver/Makefile +++ b/slsDetectorSoftware/slsReceiver/Makefile @@ -1,5 +1,5 @@ CC = g++ -CLAGS += -DSLS_RECEIVER_FUNCTION_LIST +CLAGS += -DSLS_RECEIVER_FUNCTION_LIST LDFLAG= -L/usr/lib64/ -lpthread -lm -lstdc++ diff --git a/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp b/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp index 9e5bb81f0..c340b11a2 100644 --- a/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp +++ b/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp @@ -119,9 +119,8 @@ slsReceiverFunctionList::slsReceiverFunctionList(detectorType det): int offset,ipacket; - int x; - int y; - int i, j; + int x,y,i,j; + int ipx,ipy,ix,iy; /** not for roi */ //filter @@ -138,20 +137,20 @@ slsReceiverFunctionList::slsReceiverFunctionList(detectorType det): //set up mask for moench - - for(int i=0;i