From: Frank Mori Hess Date: Wed, 26 Feb 2003 19:31:56 +0000 (+0000) Subject: added subdevice to calibration file X-Git-Tag: r0_7_21~254 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84b33a87819c7a65f2570cc4c06367ee1cd37158;p=comedilib.git added subdevice to calibration file --- diff --git a/comedi_calibrate/save_cal.c b/comedi_calibrate/save_cal.c index f2959ec..10facc4 100644 --- a/comedi_calibrate/save_cal.c +++ b/comedi_calibrate/save_cal.c @@ -56,6 +56,8 @@ void write_calibration_setting( FILE *file, saved_calibration_t setting ) fprintf( file, "%s", indent ); fprintf( file, "{\n" ); fprintf( file, "%s", indent ); + fprintf( file, "\tsubdevice => %i,\n", setting.subdevice ); + fprintf( file, "%s", indent ); fprintf( file, "\tchannels => [" ); for( i = 0; i < setting.channels_length; i++ ) fprintf( file, "%i,", setting.channels[ i ] );