projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed537c
)
fix increment of munge_chan
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 7 Sep 2003 03:44:30 +0000
(
03:44
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 7 Sep 2003 03:44:30 +0000
(
03:44
+0000)
comedi/drivers.c
patch
|
blob
|
history
diff --git
a/comedi/drivers.c
b/comedi/drivers.c
index a74a236de3ecf2110ab53cc0ec5fecf5326cec47..526258c22504690b1800dc11d31c6ae5307b4661 100644
(file)
--- a/
comedi/drivers.c
+++ b/
comedi/drivers.c
@@
-479,7
+479,7
@@
void comedi_buf_munge( comedi_device *dev, comedi_subdevice *s,
s->munge( dev, s, s->async->prealloc_buf + offset,
block_size, s->async->munge_chan );
- s->async->munge_chan +=
num_bytes
/ bytes_per_sample( s );
+ s->async->munge_chan +=
block_size
/ bytes_per_sample( s );
s->async->munge_chan %= s->async->cmd.chanlist_len;
num_bytes -= block_size;
offset = 0;