From: hades Date: Fri, 31 Aug 2001 00:17:01 +0000 (+0000) Subject: working version, beleiving the triggertag from TOF may be dangerous X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c407eb0fc25c6290e91bbee8d105085b2c5c6c22;p=daqdata.git working version, beleiving the triggertag from TOF may be dangerous right now --- diff --git a/hadaq/hwtrig.c b/hadaq/hwtrig.c index 12bc453..90defe1 100644 --- a/hadaq/hwtrig.c +++ b/hadaq/hwtrig.c @@ -1,4 +1,4 @@ -static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwtrig.c,v 6.17 2001-04-23 22:22:14 hades Exp $"; +static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwtrig.c,v 6.18 2001-08-31 00:17:01 hades Exp $"; #define _POSIX_C_SOURCE 199309L #include @@ -137,7 +137,7 @@ void Hardware_waitForTrigger(Hardware *my, void *partEvt) /* wait for some time for not disturbing the DSP */ struct timespec tS, *t = &tS; t->tv_sec = 0; - t->tv_nsec = 100000000; + t->tv_nsec = 20000000; nanosleep(t, NULL); } } @@ -163,7 +163,7 @@ void Hardware_waitForTrigger(Hardware *my, void *partEvt) /* wait for some time for not disturbing the DSP */ struct timespec tS, *t = &tS; t->tv_sec = 0; - t->tv_nsec = 100000000UL; + t->tv_nsec = 20000000UL; nanosleep(t, NULL); my->old_evtCount=LVme_getL(my->lvme0, MU_EVT_COUNT); }