added subdevice to calibration file

This commit is contained in:
Frank Mori Hess 2003-02-26 19:31:56 +00:00
parent e36d2e5b3a
commit 84b33a8781

View 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 ] );