projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
730f42f
)
Fixed gcc-4.1 warnings (operation may be undefined).
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 21 Jun 2006 16:28:36 +0000
(16:28 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 21 Jun 2006 16:28:36 +0000
(16:28 +0000)
comedi/drivers/ni_at_a2150.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_at_a2150.c
b/comedi/drivers/ni_at_a2150.c
index cf421d559de72740a1d9e0c3be0934d0123c523d..95e12c158a90b812b55c80e85aeba8d2f6045b04 100644
(file)
--- a/
comedi/drivers/ni_at_a2150.c
+++ b/
comedi/drivers/ni_at_a2150.c
@@
-849,7
+849,7
@@
static int a2150_get_timing(comedi_device *dev, unsigned int *period, int flags)
*period = lub;
// we can multiply period by 1, 2, 4, or 8, using (1 << i)
- for(i = 0; i < 4; i
= i
++)
+ for(i = 0; i < 4; i++)
{
// there are a maximum of 4 master clocks
for(j = 0; j < thisboard->num_clocks; j++)