Changeset 6519
- Timestamp:
- Mar 3, 2006, 5:05:57 PM (20 years ago)
- File:
-
- 1 edited
-
branches/rel10_ifa/psModules/src/astrom/pmHDU.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmHDU.c
r6517 r6519 117 117 ) 118 118 { 119 pmHDU *hdu = fpa->hdu; // The HDU information 120 if (!hdu) { 121 psError(PS_ERR_IO, true, "Unable to find HDU in chip.\n"); 122 return NULL; 123 } 124 125 return hdu; 119 return fpa->hdu; 126 120 } 127 121 … … 131 125 pmHDU *hdu = chip->hdu; // The HDU information 132 126 if (!hdu) { 133 // Grab HDU info from the FPA 134 hdu = pmHDUFromFPA(chip->parent); 135 if (!hdu) { 136 psError(PS_ERR_IO, true, "Unable to find HDU in chip.\n"); 137 return NULL; 138 } 127 hdu = pmHDUFromFPA(chip->parent); // Grab HDU info from the FPA 139 128 } 140 129 … … 147 136 pmHDU *hdu = cell->hdu; // The HDU information 148 137 if (!hdu) { 149 // Grab HDU info from the chip 150 hdu = pmHDUFromChip(cell->parent); 151 if (!hdu) { 152 psError(PS_ERR_IO, true, "Unable to find HDU in cell.\n"); 153 return NULL; 154 } 138 hdu = pmHDUFromChip(cell->parent); // Grab HDU info from the chip 155 139 } 156 140
Note:
See TracChangeset
for help on using the changeset viewer.
