mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-16 17:30:41 +02:00
debugging
This commit is contained in:
parent
a42854d9a7
commit
7e9760559c
@ -878,7 +878,10 @@ int UDPStandardImplementation::setDetectorType(const detectorType d){
|
||||
if(latestData[i]) {delete[] latestData[i]; latestData[i] = 0;}
|
||||
}
|
||||
for(int i=0; i<numberofWriterThreads; i++){
|
||||
latestData[i] = new char[bufferSize];
|
||||
if(myDetectorType == JUNGFRAU)
|
||||
latestData[i] = new char[bufferSize+fifoBufferHeaderSize-HEADER_SIZE_NUM_TOT_PACKETS];
|
||||
else
|
||||
latestData[i] = new char[bufferSize];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user