Changeset 15098 for trunk/psModules/src/camera/pmFPAConstruct.c
- Timestamp:
- Sep 28, 2007, 3:57:57 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAConstruct.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAConstruct.c
r15087 r15098 398 398 pmFPA *fpa, // FPA of interest 399 399 pmChip *chip, // Chip of interest 400 pmFPALevel level, // Level for HDU to go 400 401 pmHDU *hdu // HDU to add 401 402 ) … … 422 423 } 423 424 424 if (!processContents(fpa, chip, hdu, PM_FPA_LEVEL_CELL, NULL, cellNames, cellTypes, format)) {425 if (!processContents(fpa, chip, hdu, level, NULL, cellNames, cellTypes, format)) { 425 426 psError(PS_ERR_UNKNOWN, false, "Unable to set contents for chip from camera format."); 426 427 psFree(cellNames); … … 561 562 } 562 563 563 if (!processChip(format, chipContents, fpa, chip, hdu)) {564 if (!processChip(format, chipContents, fpa, chip, PM_FPA_LEVEL_FPA, hdu)) { 564 565 psError(PS_ERR_UNKNOWN, false, "Unable to process chip %d\n", chipNum); 565 566 psFree(hdu); … … 784 785 hdu->format = psMemIncrRefCounter((const psPtr)format); 785 786 786 if (!processChip(format, contentItem->data.str, fpa, chip, hdu)) {787 if (!processChip(format, contentItem->data.str, fpa, chip, PM_FPA_LEVEL_CELL, hdu)) { 787 788 psError(PS_ERR_UNKNOWN, false, "Unable to process chip\n"); 788 789 psFree(hdu); … … 874 875 psFree(chipType); 875 876 876 if (!processChip(format, chipContents, fpa, chip, NULL)) {877 if (!processChip(format, chipContents, fpa, chip, PM_FPA_LEVEL_NONE, NULL)) { 877 878 psError(PS_ERR_UNKNOWN, false, "Unable to process chip\n"); 878 879 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
