projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f443757
)
fixed bug noted by Massimiliano Cialdi
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 22 Nov 2001 16:01:45 +0000
(16:01 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 22 Nov 2001 16:01:45 +0000
(16:01 +0000)
comedi/drivers/ni_labpc.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_labpc.c
b/comedi/drivers/ni_labpc.c
index cda8ec960d1c2345190afcadab8f4f42aa0e9b10..6a385493a98b25e4ff2b2d9e42852ecc9511e4aa 100644
(file)
--- a/
comedi/drivers/ni_labpc.c
+++ b/
comedi/drivers/ni_labpc.c
@@
-1676,7
+1676,7
@@
static unsigned int labpc_suggest_transfer_size(comedi_cmd cmd)
// figures out what counter values to use based on command
static void labpc_adc_timing(comedi_device *dev, comedi_cmd *cmd)
{
- const int max_counter_value = 0x1000; // max value for 16 bit counter in mode 2
+ const int max_counter_value = 0x1000
0
; // max value for 16 bit counter in mode 2
const int min_counter_value = 2; // min value for 16 bit counter in mode 2
unsigned int base_period;