IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 1, 2006, 4:17:11 PM (20 years ago)
Author:
Paul Price
Message:

Adding functions to check the file_exists flags; adding pmFPAviewReset.

File:
1 edited

Legend:

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

    r7717 r8047  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-06-28 05:12:19 $
     5 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-08-02 02:17:11 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030    psMemSetDeallocator(view, (psFreeFunc) pmFPAviewFree);
    3131
     32    view->nRows = nRows;
     33    pmFPAviewReset(view);
     34    return view;
     35}
     36
     37
     38bool pmFPAviewReset(pmFPAview *view)
     39{
     40    PS_ASSERT_PTR_NON_NULL(view, false);
     41
    3242    view->chip    = -1;
    3343    view->cell    = -1;
    3444    view->readout = -1;
    3545    view->iRows   =  0;
    36     view->nRows   = nRows;
    37     return view;
    38 }
     46    return true;
     47}
     48
    3949
    4050pmFPALevel pmFPAviewLevel(const pmFPAview *view)
Note: See TracChangeset for help on using the changeset viewer.