IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17082


Ignore:
Timestamp:
Mar 20, 2008, 4:54:46 PM (18 years ago)
Author:
Paul Price
Message:

Allow numScans == 0 to mean "read the entire readout"

File:
1 edited

Legend:

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

    r16581 r17082  
    474474        readout->row0 = next;
    475475        readout->col0 = trimsec->x0;
     476        if (numScans == 0) {
     477            numScans = trimsec->y1 - trimsec->y0;
     478        }
    476479    } else {
    477480        // Reading cols
    478481        readout->col0 = next;
    479482        readout->row0 = trimsec->y0;
     483        if (numScans == 0) {
     484            numScans = trimsec->x1 - trimsec->x0;
     485        }
    480486    }
    481487    int upper = next + numScans + overlap;        // Upper limit to next section
Note: See TracChangeset for help on using the changeset viewer.