got rif of unncessary couts in receiver

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@584 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2013-05-29 08:25:01 +00:00
parent 6ace6f279a
commit b095e9cc9d
2 changed files with 5 additions and 2 deletions

View File

@ -34,4 +34,5 @@ int receiveChannel(int file_des, sls_detector_channel *myChan);
int receiveChip(int file_des, sls_detector_chip* myChip);
int receiveModule(int file_des, sls_detector_module* myMod);
#endif

View File

@ -1011,8 +1011,9 @@ int slsReceiverFuncs::moench_read_frame(){
//cout<<"this frame number:"<<thisFrameNumber<<endl;
while (iPacket < numPackets){
#ifdef VERBOSE
printf("iPacket:%d\n",iPacket);cout << endl;
#endif
packetIndex = (*((int*)(((char*)origVal)+packetOffset))) & MOENCH_PACKET_INDEX_MASK;
//the first packet is placed in the end
packetIndex--;
@ -1026,8 +1027,9 @@ int slsReceiverFuncs::moench_read_frame(){
x = packetIndex / 10;
y = packetIndex % 10;
#ifdef VERBOSE
cout<<"x:"<<x<<" y:"<<y<<endl;
#endif
//copy 16 times 80 bytes
for (i = 0; i < partsPerFrame; i++) {
memcpy((((char*)retval) +