undo recent changes for AT-MIO-16XE-50, which were unproductive.
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 27 Aug 2005 00:36:44 +0000 (00:36 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 27 Aug 2005 00:36:44 +0000 (00:36 +0000)
comedi_calibrate/ni.c

index 85b1fcfd0f6a88e26351147ab2c51a9f5d8b7f60..57d060b5bfb9f2b6a5344a5dee18066f13ac6948 100644 (file)
@@ -683,15 +683,9 @@ static int cal_ni_daqcard_ai_16xe_50(calibration_setup_t *setup)
 static int cal_ni_at_mio_16xe_50(calibration_setup_t *setup)
 {
        ni_caldac_layout_t layout;
-       if(comedi_get_version_code(setup->dev) < COMEDI_VERSION_CODE(0, 7, 71))
-       {
-               DPRINT(0, "WARNING: you need comedi driver version 0.7.71 or later\n"
-                "for this calibration to work properly\n" );
-       }
        init_ni_caldac_layout( &layout );
-       layout.adc_pregain_offset = 16;
-       layout.adc_postgain_offset = 8;
-       layout.adc_postgain_offset_fine = 2;
+       layout.adc_pregain_offset = 8;
+       layout.adc_postgain_offset = 2;
        layout.adc_gain = 0;
        layout.adc_gain_fine = 1;
        layout.dac_offset[ 0 ] = 6;