|
@@ -546,15 +546,16 @@ static const unsigned int pci230_timebase[8] = {
|
|
|
};
|
|
|
|
|
|
/* PCI230 analogue input range table */
|
|
|
-static const struct comedi_lrange pci230_ai_range = { 7, {
|
|
|
- BIP_RANGE(10),
|
|
|
- BIP_RANGE(5),
|
|
|
- BIP_RANGE(2.5),
|
|
|
- BIP_RANGE(1.25),
|
|
|
- UNI_RANGE(10),
|
|
|
- UNI_RANGE(5),
|
|
|
- UNI_RANGE(2.5)
|
|
|
- }
|
|
|
+static const struct comedi_lrange pci230_ai_range = {
|
|
|
+ 7, {
|
|
|
+ BIP_RANGE(10),
|
|
|
+ BIP_RANGE(5),
|
|
|
+ BIP_RANGE(2.5),
|
|
|
+ BIP_RANGE(1.25),
|
|
|
+ UNI_RANGE(10),
|
|
|
+ UNI_RANGE(5),
|
|
|
+ UNI_RANGE(2.5)
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
/* PCI230 analogue gain bits for each input range. */
|
|
@@ -564,10 +565,11 @@ static const unsigned char pci230_ai_gain[7] = { 0, 1, 2, 3, 1, 2, 3 };
|
|
|
static const unsigned char pci230_ai_bipolar[7] = { 1, 1, 1, 1, 0, 0, 0 };
|
|
|
|
|
|
/* PCI230 analogue output range table */
|
|
|
-static const struct comedi_lrange pci230_ao_range = { 2, {
|
|
|
- UNI_RANGE(10),
|
|
|
- BIP_RANGE(10)
|
|
|
- }
|
|
|
+static const struct comedi_lrange pci230_ao_range = {
|
|
|
+ 2, {
|
|
|
+ UNI_RANGE(10),
|
|
|
+ BIP_RANGE(10)
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
/* PCI230 daccon bipolar flag for each analogue output range. */
|