From f04e344ad963b8d0a3c1017bf5fbf7fac2a96de6 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 22 Nov 2001 16:01:45 +0000 Subject: [PATCH] fixed bug noted by Massimiliano Cialdi --- comedi/drivers/ni_labpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/ni_labpc.c b/comedi/drivers/ni_labpc.c index cda8ec96..6a385493 100644 --- 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 = 0x10000; // 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; -- 2.26.2