IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7719


Ignore:
Timestamp:
Jun 27, 2006, 7:21:15 PM (20 years ago)
Author:
Paul Price
Message:

Instead of naming the primary HDUs as 'PHU', we simply don't name them any more.

Location:
trunk/psModules/src/camera
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAConstruct.c

    r7717 r7719  
    483483
    484484    // Prepare the PHU to be placed in the camera hierarchy
    485     pmHDU *phdu = pmHDUAlloc("PHU");    // The primary header data unit
     485    pmHDU *phdu = pmHDUAlloc(NULL);     // The primary header data unit
    486486    // Casting to psPtr to avoide "warning: passing arg 1 of `p_psMemIncrRefCounter' discards qualifiers from
    487487    // pointer target type"
  • trunk/psModules/src/camera/pmHDU.c

    r7718 r7719  
    170170    // Preserve the extension name, if it's the PHU
    171171    char *extname = hdu->extname;       // The name of the extension
    172     if (strcasecmp(extname, "PHU") == 0 && hdu->header) {
     172    if (!extname && hdu->header) {
    173173        bool mdok = true;               // Status of MD lookup
    174174        extname = psMetadataLookupStr(&mdok, hdu->header, "EXTNAME");
Note: See TracChangeset for help on using the changeset viewer.