]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Status before trying "MDC fault tolerant crate event building"
authorhadaq <hadaq>
Sat, 1 Dec 2001 13:08:43 +0000 (13:08 +0000)
committerhadaq <hadaq>
Sat, 1 Dec 2001 13:08:43 +0000 (13:08 +0000)
hadaq/hwmdc.c

index c49f6477f1cbcad3d1c78cd54cd6f898e6f1bdb3..908792848fa48b1abdfd060cdcf31554b97d635f 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwmdc.c,v 6.17 2001-11-22 17:26:08 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwmdc.c,v 6.18 2001-12-01 13:08:43 hadaq Exp $";
 
 
 #define _POSIX_C_SOURCE 199309L
@@ -15,7 +15,7 @@ static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hada
 #include "subevt.h"
 #include "hwsam.h"
 
-#define NSAMS 5
+#define NSAMS 12
 
 #define SAMMASK ((1 << NSAMS) - 1)
 
@@ -96,7 +96,7 @@ void Hardware_waitForTrigger(Hardware *my, void *partEvt)
                        if ((anySamIsBusy & (1 << i)) && !HwSam_isBusy(my->sam[i])) {
                                anySamIsBusy &= ~(1 << i);
                        } else {
-#if 1
+#if 0
                                struct timespec tS, *t = &tS;
                                t->tv_sec = 0;
                                t->tv_nsec = 020000000;