IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13769


Ignore:
Timestamp:
Jun 12, 2007, 2:33:56 PM (19 years ago)
Author:
eugene
Message:

modified pmReadoutReadNext API to return an error status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCombine.c

    r13677 r13769  
    162162
    163163                    // Only reading and writing the first readout in each cell (plane 0)
    164                     if (pmReadoutReadNext(stack->data[i], fits, 0, options->rows)) {
     164                    bool readOK;
     165                    if (pmReadoutReadNext(&readOK, stack->data[i], fits, 0, options->rows)) {
     166                        if (!readOK) {
     167                            psError(PS_ERR_IO, false, "Failed to read concepts for cell.\n");
     168                            psErrorStackPrint(stderr, "trouble reading data!\n");
     169                            exit (1);
     170                        }
    165171                        // If we're creating a bias or a dark, we don't want to generate a mask
    166172                        if ((options->zero || options->scale || options->shutter || options->mask) &&
Note: See TracChangeset for help on using the changeset viewer.