Changeset 27346 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Mar 18, 2010, 4:23:54 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r25754 r27346 296 296 psFits *fits, // FITS file 297 297 int z, // Plane number to read 298 int *zMax, // Max plane number in this cell298 int *zMax, // Max plane number in this cell 299 299 int numScans, // Number of scans to read at a time 300 300 fpaReadType type, // Type of image … … 314 314 return true; 315 315 } else { 316 return false;316 return false; 317 317 } 318 318 } … … 387 387 psFree(regionString); 388 388 psFree(readout); 389 psFree(iter);389 psFree(iter); 390 390 return false; 391 391 } … … 486 486 psFits *fits, // FITS file 487 487 int z, // Desired image plane 488 int *zMax,// Max plane number in this cell488 int *zMax, // Max plane number in this cell 489 489 int numScans, // Number of scans (row or col depends on CELL.READDIR); 0 for all 490 490 int overlap, // Number of scans (row/col) to overlap between scans … … 628 628 // Blow away existing data. 629 629 // Do this before returning, so that we're not returning data from a previous read 630 psFree(*image);631 *image = NULL;630 // psFree(*image); 631 // *image = NULL; 632 632 *image = readoutReadComponent(*image, fits, trimsec, readdir, thisScan, lastScan, z, bad, pixelTypes[type]); 633 633
Note:
See TracChangeset
for help on using the changeset viewer.
