diff --git a/3rdparty/indi-sx/sxccd.cpp b/3rdparty/indi-sx/sxccd.cpp index 35ab79cf4e..915d83707e 100644 --- a/3rdparty/indi-sx/sxccd.cpp +++ b/3rdparty/indi-sx/sxccd.cpp @@ -604,13 +604,9 @@ void SXCCD::ExposureTimerHit() } } } - else if (binX == 2 && binY == 2) + else { - rc = sxReadPixels(handle, buf, size / 2); - } - else if (binX == 4 && binY == 4) - { - rc = sxReadPixels(handle, buf, size / 8); + rc = sxReadPixels(handle, buf, size * 2); } } }