Changeset 28882
- Timestamp:
- Aug 10, 2010, 2:33:20 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/ppstampMakeStamp.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/ppstampMakeStamp.c
r28310 r28882 229 229 230 230 static int makeStamp(pmConfig *config, ppstampOptions *options, pmFPAfile *input, 231 pmChip *inChip, pmFPAview *view, pmAstromObj *center )231 pmChip *inChip, pmFPAview *view, pmAstromObj *center, pmFPAfile *astrom) 232 232 { 233 233 int status = false; … … 266 266 srcFile = input; 267 267 *srcView = *view; 268 } 269 270 if (astrom->camera != srcFile->camera) { 271 psError(PS_ERR_UNKNOWN, true, "Input camera and astrometry camera do not match"); 272 return PS_EXIT_CONFIG_ERROR; 268 273 } 269 274 … … 583 588 if (!astrom) { 584 589 astrom = input; 585 } else if (astrom->camera != input->camera) {586 psError(PS_ERR_UNKNOWN, true, "Input camera and astrometry camera do not match");587 return PS_EXIT_CONFIG_ERROR;588 590 } 589 591 … … 636 638 case PPSTAMP_ON: 637 639 case PPSTAMP_PARTIALLY_ON: 638 returnval = makeStamp(config, options, input, chip, view, center );640 returnval = makeStamp(config, options, input, chip, view, center, astrom); 639 641 allDone = true; 640 642 foundOverlap = true;
Note:
See TracChangeset
for help on using the changeset viewer.
