projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a81c7
)
adl_pci9118: In pci9118_ai_cmdtest(), initialize divisor1 and divisor2
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Nov 2009 11:30:05 +0000
(11:30 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 19 Nov 2009 11:30:05 +0000
(11:30 +0000)
values, passed by reference to i8253_cascade_ns_to_timer().
comedi/drivers/adl_pci9118.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/adl_pci9118.c
b/comedi/drivers/adl_pci9118.c
index cf0cfe8a4e45b68664d2ec6c81c9fa539eebabe9..9a355511f64e576a66243f0843989f1baa675615 100644
(file)
--- a/
comedi/drivers/adl_pci9118.c
+++ b/
comedi/drivers/adl_pci9118.c
@@
-754,7
+754,7
@@
static int pci9118_ai_cmdtest(comedi_device * dev, comedi_subdevice * s,
comedi_cmd * cmd)
{
int err = 0;
- int tmp, divisor1
, divisor2
;
+ int tmp, divisor1
= 0, divisor2 = 0
;
/* step 1: make sure trigger sources are trivially valid */