From: Ian Abbott Date: Fri, 16 Nov 2007 14:34:46 +0000 (+0000) Subject: Reduced maximum speed (increased minimum period) for AO conversion X-Git-Tag: v0_7_76~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa2d1c19762feffd76fe99bdbdd6e4db2ea04df7;p=comedi.git Reduced maximum speed (increased minimum period) for AO conversion to 125 kHz (8000 ns). --- diff --git a/comedi/drivers/amplc_pci230.c b/comedi/drivers/amplc_pci230.c index 05853173..e91c716f 100644 --- 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.5kHz */ +#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