Skip to content

Commit

Permalink
Merge pull request #558 from polakovic/master
Browse files Browse the repository at this point in the history
SX M25C binning fixed
  • Loading branch information
knro authored Apr 8, 2018
2 parents 50e1d0b + 958b711 commit ceb9bab
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions 3rdparty/indi-sx/sxccd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit ceb9bab

Please sign in to comment.