- Timestamp:
- May 10, 2010, 5:24:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.20100506/src/psphotSourceFreePixels.c
r26894 r27909 1 1 # include "psphotInternal.h" 2 2 3 bool psphotSourceFreePixels (pmConfig *config, const pmFPAview *view )3 bool psphotSourceFreePixels (pmConfig *config, const pmFPAview *view, const char *filerule) 4 4 { 5 5 bool status = true; … … 10 10 // loop over the available readouts 11 11 for (int i = 0; i < num; i++) { 12 if (!psphotSourceFreePixelsReadout (config, view, "PSPHOT.INPUT", i)) {13 psError (PSPHOT_ERR_CONFIG, false, "failed to free source pixels for PSPHOT.INPUT entry %d", i);12 if (!psphotSourceFreePixelsReadout (config, view, filerule, i)) { 13 psError (PSPHOT_ERR_CONFIG, false, "failed to free source pixels for %s entry %d", filerule, i); 14 14 return false; 15 15 } … … 18 18 } 19 19 20 bool psphotSourceFreePixelsReadout(pmConfig *config, const pmFPAview *view, const char *file name, int index) {20 bool psphotSourceFreePixelsReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index) { 21 21 22 22 bool status; 23 23 24 24 // find the currently selected readout 25 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest25 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 26 26 psAssert (file, "missing file?"); 27 27
Note:
See TracChangeset
for help on using the changeset viewer.
