static const int caldac_subdev = 4;
static const int calpot_subdev = 5;
+ if( comedi_get_version_code( setup->dev ) <= COMEDI_VERSION_CODE( 0, 7, 66 ) )
+ {
+ DPRINT(0, "WARNING: you need comedi driver version 0.7.67 or later\n"
+ "for this calibration to work properly\n" );
+ }
+
retval = init_observables_1xxx( setup );
if( retval < 0 ) return retval;
setup_caldacs( setup, caldac_subdev );
static const int calpot_subdev = 5;
static const int dac08_subdev = 6;
+ if( comedi_get_version_code( setup->dev ) <= COMEDI_VERSION_CODE( 0, 7, 66 ) )
+ {
+ DPRINT(0, "WARNING: you need comedi driver version 0.7.67 or later\n"
+ "for this calibration to work properly\n" );
+ }
+
retval = init_observables_1xxx( setup );
if( retval < 0 ) return retval;
setup_caldacs( setup, caldac_subdev );
{
generic_layout_t layout;
- if( comedi_get_version_code( setup->dev ) <= COMEDI_VERSION_CODE( 0, 7, 66 ) )
- {
- DPRINT(0, "WARNING: you need comedi driver version 0.7.67 or later\n"
- "for this calibration to work properly\n" );
- }
-
init_generic_layout( &layout );
layout.adc_gain = adc_gain_1xxx;
layout.adc_offset = adc_offset_coarse_1xxx;
{
generic_layout_t layout;
- if( comedi_get_version_code( setup->dev ) <= COMEDI_VERSION_CODE( 0, 7, 66 ) )
- {
- DPRINT(0, "WARNING: you need comedi driver version 0.7.67 or later\n"
- "for this calibration to work properly\n" );
- }
-
init_generic_layout( &layout );
layout.adc_gain = adc_gain_1602_16;
layout.adc_offset = adc_pregain_offset_1602_16;