fixed file index problem

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@346 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2012-11-15 13:54:02 +00:00
parent e4e46920cd
commit 58623dcd34

View File

@ -570,7 +570,7 @@ int read_frame(int file_des) {
}while((index%2)==(index2%2));
fIndex=((int)(*((int*)retval)) - startIndex)/2;
arg[0]=fIndex;
arg[0]=fIndex-1;
arg[1]=(index%2);
#ifdef VERBOSE