This commit is contained in:
2019-07-12 18:24:23 +02:00
parent 5e24591295
commit 0f2641f9fa
11 changed files with 48 additions and 34 deletions

View File

@ -3464,9 +3464,12 @@ void multiSlsDetector::readFrameFromReceiver() {
}
// free resources
delete[] image;
delete[] multiframe;
delete[] multigappixels;
if (image != nullptr)
delete[] image;
if (multiframe)
delete[] multiframe;
if (multigappixels)
delete [] multigappixels;
}
int multiSlsDetector::processImageWithGapPixels(char *image, char *&gpImage) {

View File

@ -1443,7 +1443,7 @@ int slsDetector::configureMAC() {
// col for horiz. udp ports
pos[1] = (detId / max) * ((shm()->myDetectorType == EIGER) ? 2 : 1);
// pos[2] (z is reserved)
FILE_LOG(logDEBUG1) << "Detector [" << detId << "] - (" << pos[0] << ","
FILE_LOG(logDEBUG) << "Detector [" << detId << "] - (" << pos[0] << ","
<< pos[1] << ")";
snprintf(args[12], array_size, "%x", pos[0]);
snprintf(args[13], array_size, "%x", pos[1]);