Changeset 6839
- Timestamp:
- Apr 11, 2006, 6:11:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmFPAConstruct.c
r6834 r6839 421 421 pmCell *cell = NULL; // The cell that corresponds to the PHU 422 422 if (strcasecmp(phuType, "FPA") == 0) { 423 fpa->hdu = phdu; 423 addHDUtoFPA(fpa, phdu); 424 psFree(phdu); 424 425 } else { 425 426 psArray *chips = fpa->chips; // Array of chips … … 432 433 chip = chips->data[phuView->chip]; 433 434 if (strcasecmp(phuType, "CHIP") == 0) { 434 chip->hdu = phdu; 435 addHDUtoChip(chip, phdu); 436 psFree(phdu); 435 437 } else if (strcasecmp(phuType, "CELL") == 0) { 436 438 psArray *cells = chip->cells; // Array of cells … … 441 443 return false; 442 444 } 443 cell->hdu = phdu; 445 addHDUtoCell(cell, phdu); 446 psFree(phdu); 444 447 } else { 445 448 psError(PS_ERR_IO, true, "PHU in the camera configuration format is not FPA, CHIP or CELL.\n");
Note:
See TracChangeset
for help on using the changeset viewer.
