From 8d9d7a126a38717c4ceb0f8cc46893b264abecdb Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 19 Dec 1994 18:25:16 +0000 Subject: [PATCH] In init_record mask is shifted not set equal to --- src/dev/devMbboDirectXVme220.c | 2 +- src/dev/devMbboXVme220.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dev/devMbboDirectXVme220.c b/src/dev/devMbboDirectXVme220.c index bbd3d9042..96d5d095e 100644 --- a/src/dev/devMbboDirectXVme220.c +++ b/src/dev/devMbboDirectXVme220.c @@ -81,7 +81,7 @@ static long init_record(pmbbo) case (VME_IO) : pvmeio = &(pmbbo->out.value.vmeio); pmbbo->shft = pvmeio->signal; - pmbbo->mask = pmbbo->shft; + pmbbo->mask <<= pmbbo->shft; status = xy220_read(pvmeio->card,pmbbo->mask,&value); if(status==0) pmbbo->rbv = pmbbo->rval = value; else status = 2; diff --git a/src/dev/devMbboXVme220.c b/src/dev/devMbboXVme220.c index 62f675644..921adde95 100644 --- a/src/dev/devMbboXVme220.c +++ b/src/dev/devMbboXVme220.c @@ -83,7 +83,7 @@ static long init_record(pmbbo) case (VME_IO) : pvmeio = &(pmbbo->out.value.vmeio); pmbbo->shft = pvmeio->signal; - pmbbo->mask = pmbbo->shft; + pmbbo->mask <<= pmbbo->shft; status = xy220_read(pvmeio->card,pmbbo->mask,&value); if(status==0) pmbbo->rbv = pmbbo->rval = value; else status = 2;