jungfrau: cannot set partial readout while acquiring

This commit is contained in:
2021-08-17 09:53:34 +02:00
parent 3d90c1527a
commit 24f012e6c7
4 changed files with 23 additions and 23 deletions

View File

@ -477,7 +477,7 @@ std::vector<uint64_t> Implementation::getNumMissingPackets() const {
int np = generalData->packetsPerFrame;
uint64_t totnp = np;
// partial readout
if (partialReadout != generalData->maxRowsPerReadout) {
if (partialReadout != (int)generalData->maxRowsPerReadout) {
totnp = ((partialReadout * np) / generalData->maxRowsPerReadout);
}
totnp *= numberOfTotalFrames;