Changeset 22703 for trunk/psModules/src/concepts/pmConceptsCopy.c
- Timestamp:
- Feb 26, 2009, 3:40:03 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsCopy.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsCopy.c
r22701 r22703 80 80 81 81 psMetadata *specs = pmConceptsSpecs(PM_FPA_LEVEL_FPA); // Concept specifications 82 if (!target->hdu) { 82 83 pmHDU *hdu = pmHDUGetFirst(target); // HDU with camera format 84 if (!hdu) { 83 85 psError(PS_ERR_UNKNOWN, true, "Can't find HDU for FPA"); 84 86 return false; … … 124 126 pmHDU *hdu = pmHDUFromChip(target); // Header data unit 125 127 if (!hdu) { 126 psError(PS_ERR_UNKNOWN, true, "Can't find HDU for chip"); 127 return false; 128 hdu = pmHDUGetFirst(target->parent); 129 if (!hdu) { 130 psError(PS_ERR_UNKNOWN, true, "Can't find HDU for chip"); 131 return false; 132 } 128 133 } 129 134 … … 168 173 pmHDU *hdu = pmHDUFromCell(target); // Header data unit 169 174 if (!hdu) { 170 psError(PS_ERR_UNKNOWN, true, "Can't find HDU for cell"); 171 return false; 175 hdu = pmHDUGetFirst(target->parent->parent); 176 if (!hdu) { 177 psError(PS_ERR_UNKNOWN, true, "Can't find HDU for cell"); 178 return false; 179 } 172 180 } 173 181
Note:
See TracChangeset
for help on using the changeset viewer.
