IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24007


Ignore:
Timestamp:
Apr 29, 2009, 6:03:11 PM (17 years ago)
Author:
eugene
Message:

lastScan was being calculated too late: before numScans had been adjusted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPARead.c

    r23827 r24007  
    592592    }
    593593
    594     // Determine the number of scans to read
    595     int lastScan = readoutSetLastScan(readout, type, thisScan + numScans);
    596594    if (thisScan == 0) {
    597595        overlap = 0;
     
    601599        thisScan = 0;
    602600    }
    603     readoutSetThisScan(readout, type, thisScan);
    604601
    605602    // Calculate limits, adjust readout->row0,col0
     
    620617        }
    621618    }
     619
     620    // Determine the number of scans to read
     621    int lastScan = readoutSetLastScan(readout, type, thisScan + numScans);
     622    readoutSetThisScan(readout, type, thisScan);
    622623
    623624    // Blow away existing data.
Note: See TracChangeset for help on using the changeset viewer.