Changeset 4606 for trunk/Ohana/src/opihi/dvo/photometry.c
- Timestamp:
- Jul 24, 2005, 8:31:04 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/photometry.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/photometry.c
r4587 r4606 63 63 static int PhotcodeSelect; 64 64 static PhotCode *PhotcodeValue; 65 static int PhotcodeMode; 65 66 66 67 /* selections based on Average quantities */ … … 247 248 248 249 /* I've set some selections - if these require a photcode, check if I set one */ 249 int TestPhotSelections (PhotCode **code, int param) {250 int TestPhotSelections (PhotCode **code, int *mode, int param) { 250 251 251 252 int NeedPhotcode; … … 281 282 if (!PhotcodeSelect) return (FALSE); 282 283 code[0] = PhotcodeValue; 284 mode[0] = PhotcodeMode; 283 285 if (code[0][0].type == PHOT_DEP) return (FALSE); 284 286 if (code[0][0].type == PHOT_REF) return (FALSE); … … 386 388 PhotcodeSelect = TRUE; 387 389 remove_argument (N, argc, argv); 388 PhotcodeValue = GetPhotcodebyName (argv[N]);390 GetPhotcodeInfo (argv[N], &PhotcodeValue, &PhotcodeMode); 389 391 if (PhotcodeValue == NULL) { 390 392 fprintf (stderr, "photcode not found in photcode table\n");
Note:
See TracChangeset
for help on using the changeset viewer.
