mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
minor warning fix
This commit is contained in:
@ -623,13 +623,13 @@ void DetectorImpl::readFrameFromReceiver() {
|
|||||||
|
|
||||||
// send data to callback
|
// send data to callback
|
||||||
if (data) {
|
if (data) {
|
||||||
char *image = multiframe;
|
char *callbackImage = multiframe;
|
||||||
int imagesize = multisize;
|
int imagesize = multisize;
|
||||||
|
|
||||||
if (gapPixels) {
|
if (gapPixels) {
|
||||||
int n = InsertGapPixels(multiframe, multigappixels, quadEnable,
|
int n = InsertGapPixels(multiframe, multigappixels, quadEnable,
|
||||||
dynamicRange, nDetPixelsX, nDetPixelsY);
|
dynamicRange, nDetPixelsX, nDetPixelsY);
|
||||||
image = multigappixels;
|
callbackImage = multigappixels;
|
||||||
imagesize = n;
|
imagesize = n;
|
||||||
}
|
}
|
||||||
LOG(logDEBUG) << "Image Info:"
|
LOG(logDEBUG) << "Image Info:"
|
||||||
@ -640,8 +640,8 @@ void DetectorImpl::readFrameFromReceiver() {
|
|||||||
|
|
||||||
thisData =
|
thisData =
|
||||||
new detectorData(currentProgress, currentFileName, nDetPixelsX,
|
new detectorData(currentProgress, currentFileName, nDetPixelsX,
|
||||||
nDetPixelsY, image, imagesize, dynamicRange,
|
nDetPixelsY, callbackImage, imagesize,
|
||||||
currentFileIndex, completeImage);
|
dynamicRange, currentFileIndex, completeImage);
|
||||||
|
|
||||||
dataReady(
|
dataReady(
|
||||||
thisData, currentFrameIndex,
|
thisData, currentFrameIndex,
|
||||||
|
Reference in New Issue
Block a user