IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15096


Ignore:
Timestamp:
Sep 28, 2007, 3:26:55 PM (19 years ago)
Author:
Paul Price
Message:

Fixing compilation problems.

Location:
trunk/psModules/src/camera
Files:
2 edited

Legend:

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

    r15094 r15096  
    88#include <pslib.h>
    99
     10#include "pmConfig.h"
    1011#include "pmHDU.h"
    1112#include "pmFPA.h"
    1213#include "pmFPALevel.h"
     14#include "pmFPAview.h"
     15#include "pmDetrendDB.h"
     16#include "pmFPAfile.h"
    1317#include "pmHDUUtils.h"
    1418#include "pmHDUGenerate.h"
     
    6569        }
    6670
    67         pmFPAview *view = pmFPAViewGenerate(fpa, chip, cell, NULL); // View for fpa, chip, cell
    68         psString *content = pmFPANameFromRule(rule, fpa, view); // Content of this file, specified by the rule
     71        pmFPAview *view = pmFPAviewGenerate(fpa, chip, cell, NULL); // View for fpa, chip, cell
     72        psString content = pmFPANameFromRule(rule, fpa, view); // Content of this file, specified by the rule
    6973        psFree(view);
    7074
     
    7680        }
    7781
    78         psMetadataAddStr(hdu->header, PS_LIST_END, contentKey, PS_META_REPLACE, "Content of file", content);
     82        psMetadataAddStr(hdu->header, PS_LIST_TAIL, contentKey, PS_META_REPLACE, "Content of file", content);
    7983        psFree(content);                // Drop reference
    8084    }
  • trunk/psModules/src/camera/pmFPAview.c

    r15093 r15096  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-09-29 01:19:47 $
     5 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-09-29 01:26:55 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    323323
    324324pmFPAview *pmFPAviewGenerate(const pmFPA *fpa, const pmChip *chip, const pmCell *cell,
    325                              const pmReadout *reaodut)
     325                             const pmReadout *readout)
    326326{
    327327    PS_ASSERT_PTR_NON_NULL(fpa, NULL);
     
    335335    for (view->chip = 0; view->chip < fpa->chips->n && fpa->chips->data[view->chip] != chip; view->chip++);
    336336    if (view->chip == fpa->chips->n) {
    337         psError(PS_ERR_UNKNOWN, true, "Unable to find chip %x in fpa.", chip);
     337        psError(PS_ERR_UNKNOWN, true, "Unable to find chip %p in fpa.", chip);
    338338        psFree(view);
    339339        return NULL;
     
    346346    for (view->cell = 0; view->cell < chip->cells->n && chip->cells->data[view->cell] != cell; view->cell++);
    347347    if (view->cell == chip->cells->n) {
    348         psError(PS_ERR_UNKNOWN, true, "Unable to find cell %x in chip.", cell);
     348        psError(PS_ERR_UNKNOWN, true, "Unable to find cell %p in chip.", cell);
    349349        psFree(view);
    350350        return NULL;
     
    359359         view->readout++);
    360360    if (view->readout == cell->readouts->n) {
    361         psError(PS_ERR_UNKNOWN, true, "Unable to find readout %x in cell.", readout);
     361        psError(PS_ERR_UNKNOWN, true, "Unable to find readout %p in cell.", readout);
    362362        psFree(view);
    363363        return NULL;
Note: See TracChangeset for help on using the changeset viewer.