added subdevice to calibration file
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 26 Feb 2003 19:31:56 +0000 (19:31 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 26 Feb 2003 19:31:56 +0000 (19:31 +0000)
comedi_calibrate/save_cal.c

index f2959ecd0b550a16d30ec96ea0caa99a70847975..10facc4356266e8a49e061a6818dd844a6da8ca4 100644 (file)
@@ -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 ] );