Subversion Repositories svn.mios32

Rev

Rev 2545 | Rev 2567 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2545 Rev 2564
Line 1... Line 1...
1
// $Id: seq_file_gc.c 2545 2017-11-05 17:22:36Z tk $
1
// $Id: seq_file_gc.c 2564 2018-03-03 21:31:17Z tk $
2
/*
2
/*
3
 * Global Config File access functions
3
 * Global Config File access functions
4
 *
4
 *
5
 * NOTE: before accessing the SD Card, the upper level function should
5
 * NOTE: before accessing the SD Card, the upper level function should
6
 * synchronize with the SD Card semaphore!
6
 * synchronize with the SD Card semaphore!
Line 363... Line 363...
363
        seq_ui_options.RESTORE_TRACK_SELECTIONS = value;
363
        seq_ui_options.RESTORE_TRACK_SELECTIONS = value;
364
#endif
364
#endif
365
      } else if( strcmp(parameter, "UiModifyPatternBanks") == 0 ) {
365
      } else if( strcmp(parameter, "UiModifyPatternBanks") == 0 ) {
366
#ifndef MBSEQV4L
366
#ifndef MBSEQV4L
367
        seq_ui_options.MODIFY_PATTERN_BANKS = value;
367
        seq_ui_options.MODIFY_PATTERN_BANKS = value;
-
 
368
#endif
-
 
369
      } else if( strcmp(parameter, "UiPrintAndModifyWithoutGates") == 0 ) {
-
 
370
#ifndef MBSEQV4L
-
 
371
        seq_ui_options.PRINT_AND_MODIFY_WITHOUT_GATES = value;
368
#endif
372
#endif
369
      } else if( strcmp(parameter, "RemoteMode") == 0 ) {
373
      } else if( strcmp(parameter, "RemoteMode") == 0 ) {
370
        seq_midi_sysex_remote_mode = (value > 2) ? 0 : value;
374
        seq_midi_sysex_remote_mode = (value > 2) ? 0 : value;
371
      } else if( strcmp(parameter, "RemotePort") == 0 ) {
375
      } else if( strcmp(parameter, "RemotePort") == 0 ) {
372
        seq_midi_sysex_remote_port = value;
376
        seq_midi_sysex_remote_port = value;
Line 650... Line 654...
650
  FLUSH_BUFFER;
654
  FLUSH_BUFFER;
651
#endif
655
#endif
652
656
653
#ifndef MBSEQV4L
657
#ifndef MBSEQV4L
654
  sprintf(line_buffer, "UiModifyPatternBanks %d\n", seq_ui_options.MODIFY_PATTERN_BANKS);
658
  sprintf(line_buffer, "UiModifyPatternBanks %d\n", seq_ui_options.MODIFY_PATTERN_BANKS);
-
 
659
  FLUSH_BUFFER;
-
 
660
#endif
-
 
661
-
 
662
#ifndef MBSEQV4L
-
 
663
  sprintf(line_buffer, "UiPrintAndModifyWithoutGates %d\n", seq_ui_options.PRINT_AND_MODIFY_WITHOUT_GATES);
655
  FLUSH_BUFFER;
664
  FLUSH_BUFFER;
656
#endif
665
#endif
657
666
658
  sprintf(line_buffer, "RemoteMode %d\n", (u8)seq_midi_sysex_remote_mode);
667
  sprintf(line_buffer, "RemoteMode %d\n", (u8)seq_midi_sysex_remote_mode);
659
  FLUSH_BUFFER;
668
  FLUSH_BUFFER;