- From: Salvador Eduardo Tropea <salvador_at_inti.gov.ar>
- Date: Wed, 11 Feb 2004 12:56:29 -0300
The following trivial patch fixes the return value of the config
instruction for the counter of the DAS08 driver.
I didnīt realize it until I wanted to use an instruction list that mixed
status read with counter reads ;-)
Index: comedi/drivers/das08.c
===================================================================
RCS file: /var/cvs/comedi/comedi/drivers/das08.c,v
retrieving revision 1.48
diff -u -r1.48 das08.c
--- comedi/drivers/das08.c 3 Feb 2004 23:13:47 -0000 1.48
+++ comedi/drivers/das08.c 11 Feb 2004 15:52:20 -0000
_at__at_ -794,7 +794,7 _at__at_
default:
return -EINVAL;
}
- return 1;
+ return 2;
}
static int das08_attach(comedi_device *dev,comedi_devconfig *it);
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set_at_computer.org set_at_ieee.org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
Received on 2004-02-11Z15:56:29