Skip to content

Commit 8b78607

Browse files
Bernd Porrgregkh
authored andcommitted
staging: comedi: usbduxsigma: Fixed wrong range for the analogue channel.
It's actually +/-2.65V/2 and not +/-2.65V. Signed-off-by: Bernd Porr <berndporr@f2s.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent f7364ba commit 8b78607

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎drivers/staging/comedi/drivers/usbduxsigma.c‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define DRIVER_VERSION "v0.5"
1+
#define DRIVER_VERSION "v0.6"
22
#define DRIVER_AUTHOR "Bernd Porr, BerndPorr@f2s.com"
33
#define DRIVER_DESC "Stirling/ITL USB-DUX SIGMA -- Bernd.Porr@f2s.com"
44
/*
@@ -25,7 +25,7 @@ Driver: usbduxsigma
2525
Description: University of Stirling USB DAQ & INCITE Technology Limited
2626
Devices: [ITL] USB-DUX (usbduxsigma.o)
2727
Author: Bernd Porr <BerndPorr@f2s.com>
28-
Updated: 21 Jul 2011
28+
Updated: 8 Nov 2011
2929
Status: testing
3030
*/
3131
/*
@@ -44,6 +44,7 @@ Status: testing
4444
* 0.3: proper vendor ID and driver name
4545
* 0.4: fixed D/A voltage range
4646
* 0.5: various bug fixes, health check at startup
47+
* 0.6: corrected wrong input range
4748
*/
4849

4950
/* generates loads of debug info */
@@ -175,7 +176,7 @@ Status: testing
175176
/* comedi constants */
176177
static const struct comedi_lrange range_usbdux_ai_range = { 1, {
177178
BIP_RANGE
178-
(2.65)
179+
(2.65/2.0)
179180
}
180181
};
181182

0 commit comments

Comments
 (0)