This commit is contained in:
Dhanya Maliakal
2016-10-31 14:36:13 +01:00
parent 63d9e3ca5f
commit e030a79aba
2 changed files with 3 additions and 9 deletions

View File

@ -2142,7 +2142,7 @@ int UDPStandardImplementation::prepareAndListenBuffer(int ithread, int cSize, ch
receivedSize = oneDataSize * packetsPerFrame;
}
else{cprintf(BG_RED,"for only eiger or other dets. should not be here!!\n");
else{
receivedSize = udpSocket[ithread]->ReceiveDataOnly(buffer[ithread] + fifoBufferHeaderSize + cSize, (bufferSize * numberofJobsPerBuffer) - cSize);
//eiger returns 0 when header packet caught
while(receivedSize < onePacketSize && status != TRANSMITTING)