Reduced maximum speed (increased minimum period) for AO conversion
authorIan Abbott <abbotti@mev.co.uk>
Fri, 16 Nov 2007 14:34:46 +0000 (14:34 +0000)
committerIan 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

index 05853173400f425d08e0471507eda7478141563e..e91c716f93f4fbe97ec881fd6262e073dae51e42 100644 (file)
@@ -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