Skip to content

Commit

Permalink
Merge pull request #208 from exzombie/mbbodirect-readback
Browse files Browse the repository at this point in the history
Fix mbboDirect asyn:READBACK
  • Loading branch information
MarkRivers authored Jun 14, 2024
2 parents 33a66b5 + 80d7494 commit 9519475
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions asyn/devEpics/devAsynUInt32Digital.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,12 +1087,9 @@ static long processMbboDirect(mbboDirectRecord *pr)

pr->rval = rval;
if(pr->shft>0) rval >>= pr->shft;
pr->val = rval;
for (i=0; i<NUM_BITS; i++, offset <<= 1, bit++ ) {
if(*bit) {
pr->val |= offset;
} else {
pr->val &= ~offset;
}
*bit = pr->val & offset;
}
}
} else if(pr->pact == 0) {
Expand Down

0 comments on commit 9519475

Please sign in to comment.