mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
included detector ip and detector mac defaults in client, which can be specified in config file
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@374 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -691,14 +691,14 @@ int slsReceiverFuncs::read_frame(){
|
||||
|
||||
|
||||
//1 odd, 1 even
|
||||
/*if((index%2)!=index2%2){
|
||||
if((index%2)!=index2%2){
|
||||
//ideal situation (should be odd, even(index+1))
|
||||
if(index%2){*/
|
||||
if(index%2){
|
||||
memcpy(retval,((char*) origVal)+2, onedatasize);
|
||||
memcpy((((char*)retval)+onedatasize), ((char*) origVal)+8+onedatasize, onedatasize);
|
||||
ret=OK;
|
||||
break;
|
||||
/*}
|
||||
}
|
||||
|
||||
//swap to even,odd
|
||||
if(index2%2){
|
||||
@ -709,7 +709,7 @@ int slsReceiverFuncs::read_frame(){
|
||||
break;
|
||||
}
|
||||
|
||||
}*/
|
||||
}
|
||||
strcpy(mess,"could not read frame due to more than 20 mismatched indices\n");
|
||||
usleep(100000);
|
||||
count++;
|
||||
|
Reference in New Issue
Block a user