]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Fixed trigger mismatch. Sergey.
authorhadaq <hadaq>
Fri, 8 Oct 2010 12:30:20 +0000 (12:30 +0000)
committerhadaq <hadaq>
Fri, 8 Oct 2010 12:30:20 +0000 (12:30 +0000)
hadaq/args.c

index 992ef57eb8a60c1fb475709f9d8be6efe0b1b03a..bebb1b30336bb85feafdcee7f12c598c61eeab21 100644 (file)
@@ -116,7 +116,7 @@ void Args_default(TheArgs *my)
        }
        my->debugOptsCnt = 0;
 
-       my->maxTrigMissmatch = 100000;
+       my->maxTrigMismatch = -1;
 
        /* Get host name */
        gethostname(my->hostname, 30);
@@ -276,7 +276,7 @@ int Args_fromCL(TheArgs *my, int argc, char *argv[])
                        sprintf(my->runinfo2ora, "%s_runinfo2ora.txt", getenv("DAQ_SETUP"));
                        break;
                case 'g':
-                       my->maxTrigMissmatch = strtoul(optarg, NULL, 0);
+                       my->maxTrigMismatch = strtoul(optarg, NULL, 0);
                        break;
                case 'H':
                        return -1;