IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2007, 6:17:41 PM (19 years ago)
Author:
magnier
Message:

made pmFPAUpdateNames a public function

File:
1 edited

Legend:

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

    r12696 r12705  
    3434
    3535// Update the FPA.NAME, CHIP.NAME and CELL.NAME in the FITS header, if required
    36 static bool updateNames(pmFPA *fpa, pmChip *chip, pmCell *cell)
     36bool pmFPAUpdateNames(pmFPA *fpa, pmChip *chip, pmCell *cell)
    3737{
    3838    pmHDU *hdu = pmHDUGetHighest(fpa, chip, cell); // Highest HDU, i.e., the PHU
     
    143143    if (writeBlank || writeImage) {
    144144
    145         updateNames(cell->parent->parent, cell->parent, cell);
     145        pmFPAUpdateNames(cell->parent->parent, cell->parent, cell);
    146146        pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    147147                                 PM_CONCEPT_SOURCE_DEFAULTS;
     
    193193
    194194        if (writeBlank || writeImage) {
    195             updateNames(chip->parent, chip, NULL);
     195            pmFPAUpdateNames(chip->parent, chip, NULL);
    196196            pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    197197                                     PM_CONCEPT_SOURCE_DEFAULTS;
     
    257257
    258258        if (writeBlank || writeImage) {
    259             updateNames(fpa, NULL, NULL);
     259            pmFPAUpdateNames(fpa, NULL, NULL);
    260260            pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    261261                                     PM_CONCEPT_SOURCE_DEFAULTS;
Note: See TracChangeset for help on using the changeset viewer.