mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
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:
parent
6ace6f279a
commit
b095e9cc9d
@ -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
|
||||
|
@ -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) +
|
||||
|
Loading…
x
Reference in New Issue
Block a user