IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 21, 2008, 3:22:57 PM (18 years ago)
Author:
Paul Price
Message:

Can't parse the arguments before setting up the camera --- camera-dependent recipes can't get updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSub.c

    r16866 r18649  
    2222    }
    2323
    24     if (!ppSubArguments(argc, argv, config)) {
    25         psErrorStackPrint(stderr, "Error reading arguments.\n");
    26         exitValue = PS_EXIT_CONFIG_ERROR;
    27         goto die;
    28     }
    29 
    3024    if (!pmModelClassInit()) {
    3125        psErrorStackPrint(stderr, "Error initialising model classes.\n");
     
    3428    }
    3529
     30    if (!ppSubArgumentsSetup(argc, argv, config)) {
     31        psErrorStackPrint(stderr, "Error reading arguments.\n");
     32        exitValue = PS_EXIT_CONFIG_ERROR;
     33        goto die;
     34    }
     35
    3636    if (!ppSubCamera(config)) {
    3737        psErrorStackPrint(stderr, "Error setting up camera.\n");
     38        exitValue = PS_EXIT_CONFIG_ERROR;
     39        goto die;
     40    }
     41
     42    if (!ppSubArgumentsParse(config)) {
     43        psErrorStackPrint(stderr, "Error reading arguments.\n");
    3844        exitValue = PS_EXIT_CONFIG_ERROR;
    3945        goto die;
Note: See TracChangeset for help on using the changeset viewer.