mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 09:37:59 +02:00
receiver bug fix: dataprocess gappixels enable check to create tempbuffer always true
This commit is contained in:
@ -146,7 +146,7 @@ void DataProcessor::ResetParametersforNewMeasurement(){
|
|||||||
delete [] tempBuffer;
|
delete [] tempBuffer;
|
||||||
tempBuffer = 0;
|
tempBuffer = 0;
|
||||||
}
|
}
|
||||||
if (*gapPixelsEnable >= 0) {
|
if (*gapPixelsEnable) {
|
||||||
tempBuffer = new char[generalData->imageSize];
|
tempBuffer = new char[generalData->imageSize];
|
||||||
memset(tempBuffer, 0, generalData->imageSize);
|
memset(tempBuffer, 0, generalData->imageSize);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user