From: Frank Mori Hess Date: Thu, 22 Nov 2001 16:01:45 +0000 (+0000) Subject: fixed bug noted by Massimiliano Cialdi X-Git-Tag: r0_7_62~96 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f04e344ad963b8d0a3c1017bf5fbf7fac2a96de6;p=comedi.git fixed bug noted by Massimiliano Cialdi --- 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;