mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
in between
This commit is contained in:
parent
3fbcbd5153
commit
46b23dba24
@ -791,7 +791,11 @@ int UDPStandardImplementation::setDetectorType(const detectorType d){
|
|||||||
numberofJobsPerBuffer = -1;
|
numberofJobsPerBuffer = -1;
|
||||||
setupFifoStructure();
|
setupFifoStructure();
|
||||||
|
|
||||||
//allocate for latest data (frame copy for gui)
|
//allocate for latest data (frame copy for gui), free variables
|
||||||
|
for(int i=0; i<MAX_NUMBER_OF_WRITER_THREADS; i++){
|
||||||
|
if(latestData[i]) {delete[] latestData; latestData = NULL;}
|
||||||
|
guiData[i] = NULL;
|
||||||
|
}
|
||||||
latestData = new char[frameSize];
|
latestData = new char[frameSize];
|
||||||
|
|
||||||
//updates File Header
|
//updates File Header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user