projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e8cb4
)
Reduced maximum speed (increased minimum period) for AO conversion
author
Ian Abbott
<abbotti@mev.co.uk>
Fri, 16 Nov 2007 14:34:46 +0000
(14:34 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Fri, 16 Nov 2007 14:34:46 +0000
(14:34 +0000)
to 125 kHz (8000 ns).
comedi/drivers/amplc_pci230.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/amplc_pci230.c
b/comedi/drivers/amplc_pci230.c
index 05853173400f425d08e0471507eda7478141563e..e91c716f93f4fbe97ec881fd6262e073dae51e42 100644
(file)
--- a/
comedi/drivers/amplc_pci230.c
+++ b/
comedi/drivers/amplc_pci230.c
@@
-877,7
+877,7
@@
static int pci230_ao_cmdtest(comedi_device * dev, comedi_subdevice * s,
cmd->start_arg = 0;
err++;
}
-#define MAX_SPEED_AO
3200 /* 3200ns => 312.5
kHz */
+#define MAX_SPEED_AO
8000 /* 8000 ns => 125
kHz */
#define MIN_SPEED_AO 4294967295u /* 4294967295ns = 4.29s */
/*- Comedi limit due to unsigned int cmd. Driver limit
* = 2^16 (16bit * counter) * 1000000ns (1kHz onboard