From: hades Date: Thu, 2 Sep 1999 09:55:55 +0000 (+0000) Subject: BIGFIX X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=43593242c83207d3d6dbb7fa68840020c2660d06;p=daqdata.git BIGFIX --- diff --git a/hadaq/hwv775.c b/hadaq/hwv775.c index 303a9ad..2f894fe 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.3 1999-09-02 09:24:30 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv775.c,v 1.4 1999-09-02 09:55:55 hades Exp $"; #define _POSIX_C_SOURCE 199309L #include @@ -29,7 +29,7 @@ int conHwV775(HwV775 * my, const char *name, const Param *param) cardBase = Param_getVal(param, my->name, "cardbase"); my->lvme = allocMem(sizeof(LVme)); - if (0 > conLVme(my->lvme, cardBase, 0x10000, 0x09, V775_GEO_ADDR, 4)) { + if (0 > conLVme(my->lvme, cardBase, 0x10000, 0x09, V775_GEO_ADDR, 2)) { msglog(LOG_DEBUG, "%s:%d:%s\n", __FILE__, __LINE__, strerror(errno)); return -1; } diff --git a/hadaq/hwv878.c b/hadaq/hwv878.c index 14e2885..8b93d75 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.1 1999-09-02 09:24:30 hades Exp $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv878.c,v 1.2 1999-09-02 09:55:55 hades Exp $"; #define _POSIX_C_SOURCE 199309L #include @@ -29,7 +29,7 @@ int conHwV878(HwV878 * my, const char *name, const Param *param) cardBase = Param_getVal(param, my->name, "cardbase"); my->lvme = allocMem(sizeof(LVme)); - if (0 > conLVme(my->lvme, cardBase, 0x10000, 0x09, V878_GEO_ADDR, 4)) { + if (0 > conLVme(my->lvme, cardBase, 0x10000, 0x09, V878_GEO_ADDR, 2)) { msglog(LOG_DEBUG, "%s:%d:%s\n", __FILE__, __LINE__, strerror(errno)); return -1; }