changed startframeindex to 1 as thats whats written to file in eiger

This commit is contained in:
Dhanya Maliakal
2015-08-20 10:17:36 +02:00
parent 587d357f3e
commit 8d7445d347

View File

@ -2187,7 +2187,7 @@ void UDPStandardImplementation::startFrameIndices(int ithread){
FILE_LOG(logDEBUG) << __AT__ << " called";
if (myDetectorType == EIGER){
startFrameIndex = 0;
startFrameIndex = 1;
/*startFrameIndex = htonl(*(unsigned int*)((eiger_image_header *)((char*)(buffer[ithread] + HEADER_SIZE_NUM_TOT_PACKETS)))->fnum);*/
}
//gotthard has +1 for frame number and not a short frame