From 84b33a87819c7a65f2570cc4c06367ee1cd37158 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 26 Feb 2003 19:31:56 +0000 Subject: [PATCH] added subdevice to calibration file --- comedi_calibrate/save_cal.c | 2 ++ 1 file changed, 2 insertions(+) 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 ] ); -- 2.26.2