Changeset 10554 for trunk/psphot/src/psphotParseCamera.c
- Timestamp:
- Dec 8, 2006, 1:54:57 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotParseCamera.c
r10437 r10554 74 74 75 75 // Chip selection: turn on only the chips specified (pass status to suppress missing-key log msg) 76 // XXX why not put this in the recipe? 77 char *chipLine = psMetadataLookupStr(&status, config->arguments, "CHIP_SELECTIONS"); 76 char *chipLine = psMetadataLookupStr(&status, recipe, "CHIP_SELECTIONS"); 78 77 psArray *chips = psStringSplitArray (chipLine, ",", false); 79 78 if (chips->n > 0) { 79 // select on the basis of extname? 80 80 pmFPASelectChip (input->fpa, -1, true); // deselect all chips 81 81 for (int i = 0; i < chips->n; i++) { 82 82 int chipNum = atoi(chips->data[i]); 83 fprintf (stderr, "select chip %d\n", chipNum); 83 84 if (! pmFPASelectChip(input->fpa, chipNum, false)) { 84 85 psError(PS_ERR_IO, false, "Chip number %d doesn't exist in camera.\n", chipNum);
Note:
See TracChangeset
for help on using the changeset viewer.
