IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41525


Ignore:
Timestamp:
Apr 2, 2021, 2:47:07 PM (5 years ago)
Author:
eugene
Message:

minor whitespace changes

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

Legend:

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

    r24312 r41525  
    224224        return false;
    225225    }
    226 
     226   
    227227    if (images) {
    228         psTrace("psModules.camera", 9, "Writing pixels for %s\n", hdu->extname);
    229         if (!psFitsWriteImageCubeWithMask(fits, hdu->header, images, masks, maskVal, extname)) {
    230             psError(PS_ERR_IO, false, "Unable to write image to extension %s\n", hdu->extname);
     228        psTrace("psModules.camera", 9, "Writing pixels for %s\n", hdu->extname);
     229        if (!psFitsWriteImageCubeWithMask(fits, hdu->header, images, masks, maskVal, extname)) {
     230            psError(PS_ERR_IO, false, "Unable to write image to extension %s\n", hdu->extname);
    231231            return false;
    232         }
     232        }
    233233    }
    234234    return true;
  • trunk/psModules/src/camera/pmHDUGenerate.c

    r25879 r41525  
    460460                if (readout->image) {
    461461                    psImage *new = pasteImage(hduImages->data[i], readout->image, trimsec);
    462                     psFree(readout->image);
     462                    psFree(readout->image); 
    463463                    readout->image = new;
    464464                }
Note: See TracChangeset for help on using the changeset viewer.