projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b6cba
)
oops, small mistake won't make any difference but might as well be correct
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 2 Jul 2001 03:33:38 +0000
(
03:33
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 2 Jul 2001 03:33:38 +0000
(
03:33
+0000)
comedi/drivers/das16.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/das16.c
b/comedi/drivers/das16.c
index ff56e04b55a16d6dec68213ea4e1f7c25518eea3..a2d3b567841f03aee9326734f751baef06f08e68 100644
(file)
--- a/
comedi/drivers/das16.c
+++ b/
comedi/drivers/das16.c
@@
-871,7
+871,7
@@
static int das16_ai_rinsn(comedi_device *dev,comedi_subdevice *s,comedi_insn *in
msb = inb(dev->iobase + DAS16_AI_MSB);
lsb = inb(dev->iobase + DAS16_AI_LSB);
if(thisboard->ai_nbits==12){
- data[n] = ((lsb >> 4) & 0xf
f
) | (msb << 4);
+ data[n] = ((lsb >> 4) & 0xf) | (msb << 4);
}else{
data[n] = lsb | (msb << 8);
}