projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e557dcd
)
Fix incorrect return value of AI insn function
author
David Schleef
<ds@schleef.org>
Thu, 2 Oct 2003 19:58:19 +0000
(19:58 +0000)
committer
David Schleef
<ds@schleef.org>
Thu, 2 Oct 2003 19:58:19 +0000
(19:58 +0000)
comedi/drivers/multiq3.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/multiq3.c
b/comedi/drivers/multiq3.c
index bceab4f29ac23aff14d669787a9d1cd5ff60a78f..a6d373f8935c8da656432b8c97421817d3600fe8 100644
(file)
--- a/
comedi/drivers/multiq3.c
+++ b/
comedi/drivers/multiq3.c
@@
-128,7
+128,7
@@
static int multiq3_ai_insn_read(comedi_device *dev,comedi_subdevice *s,
data[n] = ((hi << 8) | lo) & 0xfff;
}
- return
i
;
+ return
n
;
}
static int multiq3_ao_insn_read(comedi_device *dev, comedi_subdevice *s,