From 73e8c8bff8c1d815393f634d48ad2ade061aa084 Mon Sep 17 00:00:00 2001 From: muench Date: Thu, 3 Feb 2000 09:54:03 +0000 Subject: [PATCH] *** empty log message *** --- hadaq/hwv775.c | 3 ++- hadaq/hwv878.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadaq/hwv775.c b/hadaq/hwv775.c index 87b521f..731a7e2 100644 --- a/hadaq/hwv775.c +++ b/hadaq/hwv775.c @@ -1,4 +1,4 @@ -static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv775.c,v 1.7 1999-09-05 11:32:17 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv775.c,v 1.8 2000-02-03 09:54:03 muench Exp $"; #define _POSIX_C_SOURCE 199309L #include @@ -33,6 +33,7 @@ int conHwV775(HwV775 *my, const char *name, const Param *param) return -1; } LVme_setW(my->lvme, V775_RESET, 0); + /* clear data, don't change next 2 lines */ LVme_setW(my->lvme, V775_BIT_SET_2, 0x0004); LVme_setW(my->lvme, V775_BIT_CLR_2, 0x0004); LVme_setW(my->lvme, V775_CTRL_REG_2, 0x0003); diff --git a/hadaq/hwv878.c b/hadaq/hwv878.c index f1f4c5a..9ba88f6 100644 --- a/hadaq/hwv878.c +++ b/hadaq/hwv878.c @@ -1,4 +1,4 @@ -static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv878.c,v 1.5 1999-09-05 11:32:22 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv878.c,v 1.6 2000-02-03 09:54:03 muench Exp $"; #define _POSIX_C_SOURCE 199309L #include @@ -32,8 +32,10 @@ int conHwV878(HwV878 *my, const char *name, const Param *param) msglog(LOG_DEBUG, "%s:%d:%s\n", __FILE__, __LINE__, strerror(errno)); return -1; } + /* reset, don't change next 2 lines */ LVme_setW(my->lvme, V878_BIT_SET_1, 0x0080); LVme_setW(my->lvme, V878_BIT_CLR_1, 0x0080); + /* clear data, don't change next 2 lines */ LVme_setW(my->lvme, V878_BIT_SET_2, 0x0004); LVme_setW(my->lvme, V878_BIT_CLR_2, 0x0004); LVme_setW(my->lvme, V878_BIT_SET_2, 0x9800); -- 2.43.0