IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2006, 5:42:10 PM (20 years ago)
Author:
Paul Price
Message:

Fixing after API change to psMetadataPrint; added FILE *fd to pmFPAPrint and pmHDUPrint, which is passed along to psMetadataPrint.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAConstruct.c

    r7474 r7492  
    773773
    774774// Print out the focal plane structure
    775 void pmFPAPrint(pmFPA *fpa,             // FPA to print
     775void pmFPAPrint(FILE *fd,               // File descriptor to which to print
     776                pmFPA *fpa,             // FPA to print
    776777                bool header,            // Print headers?
    777778                bool concepts           // Print concepts?
     
    782783    psTrace(__func__, 1, "FPA:\n");
    783784    if (fpa->hdu) {
    784         pmHDUPrint(fpa->hdu, 2, header);
     785        pmHDUPrint(fd, fpa->hdu, 2, header);
    785786    }
    786787    if (concepts) {
    787         psMetadataPrint(fpa->concepts, 2);
     788        psMetadataPrint(fd, fpa->concepts, 2);
    788789    }
    789790
     
    794795        pmChip *chip = chips->data[i]; // The chip
    795796        if (chip->hdu) {
    796             pmHDUPrint(chip->hdu, 4, header);
     797            pmHDUPrint(fd, chip->hdu, 4, header);
    797798        }
    798799        if (concepts) {
    799             psMetadataPrint(chip->concepts, 4);
     800            psMetadataPrint(fd, chip->concepts, 4);
    800801        }
    801802
     
    806807            pmCell *cell = cells->data[j]; // The cell
    807808            if (cell->hdu) {
    808                 pmHDUPrint(cell->hdu, 6, header);
     809                pmHDUPrint(fd, cell->hdu, 6, header);
    809810            }
    810811            if (concepts) {
    811                 psMetadataPrint(cell->concepts, 6);
     812                psMetadataPrint(fd, cell->concepts, 6);
    812813            }
    813814
Note: See TracChangeset for help on using the changeset viewer.