- Timestamp:
- Feb 2, 2009, 8:05:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/psModules/src/camera/pmFPAfileIO.c
r21211 r21264 771 771 } 772 772 773 // XXX if we have a mask file, then we need to read the mask bit names774 // defined for this file775 if (file->type == PM_FPA_FILE_MASK) {776 if (!pmConfigMaskReadHeader (config, phu)) {777 psError(PS_ERR_IO, false, "error in mask bits");778 return false;779 }780 }781 782 773 // determine the current format from the header 783 774 // determine camera if not specified already … … 786 777 psString formatName = NULL; 787 778 psString cameraName = NULL; 788 file->format = pmConfigCameraFormatFromHeader (&camera, &cameraName, &formatName, config, phu, true);779 file->format = pmConfigCameraFormatFromHeader(&camera, &cameraName, &formatName, config, phu, true); 789 780 if (!file->format) { 790 781 psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", file->filename);
Note:
See TracChangeset
for help on using the changeset viewer.
