IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 8, 2011, 4:24:20 PM (15 years ago)
Author:
watersc1
Message:

I strongly suspect that the reason Heather wasn't reading the correct values was that I forgot to commit this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigRecipeValue.c

    r26893 r30824  
    3232        return NULL;
    3333    }
    34 
    35     psMetadataItem *fpaItem = psMetadataLookup(recipe, valueName); // Value for FPA or menu of chips
     34    psMetadata *format = config->format;
     35   
     36    psMetadataItem *fpaItem;
     37    fpaItem = psMetadataLookup(format, valueName);
     38    if (!fpaItem) {
     39      fpaItem = psMetadataLookup(recipe, valueName); // Value for FPA or menu of chips
     40    }
     41   
    3642    if (!fpaItem) {
    3743        psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to find value %s in recipe %s", valueName, recipeName);
Note: See TracChangeset for help on using the changeset viewer.