Subversion Repositories svn.mios32

Rev

Rev 2618 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2618 Rev 2628
Line 1... Line 1...
1
// $Id: seq_file_gc.c 2618 2018-12-20 00:18:18Z tk $
1
// $Id: seq_file_gc.c 2628 2018-12-30 21:14:09Z 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 391... Line 391...
391
        seq_ui_options.GP_LED_DONT_XOR_POS = value;
391
        seq_ui_options.GP_LED_DONT_XOR_POS = value;
392
#endif
392
#endif
393
      } else if( strcmp(parameter, "UiInvertMuteLeds") == 0 ) {
393
      } else if( strcmp(parameter, "UiInvertMuteLeds") == 0 ) {
394
#ifndef MBSEQV4L
394
#ifndef MBSEQV4L
395
        seq_ui_options.INVERT_MUTE_LEDS = value;
395
        seq_ui_options.INVERT_MUTE_LEDS = value;
-
 
396
#endif
-
 
397
      } else if( strcmp(parameter, "UiAllForStepViewOnly") == 0 ) {
-
 
398
#ifndef MBSEQV4L
-
 
399
        seq_ui_options.ALL_FOR_STEP_VIEW_ONLY = value;
396
#endif
400
#endif
397
      } else if( strcmp(parameter, "RemoteMode") == 0 ) {
401
      } else if( strcmp(parameter, "RemoteMode") == 0 ) {
398
        seq_midi_sysex_remote_mode = (value > 2) ? 0 : value;
402
        seq_midi_sysex_remote_mode = (value > 2) ? 0 : value;
399
      } else if( strcmp(parameter, "RemotePort") == 0 ) {
403
      } else if( strcmp(parameter, "RemotePort") == 0 ) {
400
        seq_midi_sysex_remote_port = value;
404
        seq_midi_sysex_remote_port = value;
Line 732... Line 736...
732
  FLUSH_BUFFER;
736
  FLUSH_BUFFER;
733
#endif
737
#endif
734
738
735
#ifndef MBSEQV4L
739
#ifndef MBSEQV4L
736
  sprintf(line_buffer, "UiInvertMuteLeds %d\n", seq_ui_options.INVERT_MUTE_LEDS);
740
  sprintf(line_buffer, "UiInvertMuteLeds %d\n", seq_ui_options.INVERT_MUTE_LEDS);
-
 
741
  FLUSH_BUFFER;
-
 
742
#endif
-
 
743
-
 
744
#ifndef MBSEQV4L
-
 
745
  sprintf(line_buffer, "UiAllForStepViewOnly %d\n", seq_ui_options.ALL_FOR_STEP_VIEW_ONLY);
737
  FLUSH_BUFFER;
746
  FLUSH_BUFFER;
738
#endif
747
#endif
739
748
740
  sprintf(line_buffer, "RemoteMode %d\n", (u8)seq_midi_sysex_remote_mode);
749
  sprintf(line_buffer, "RemoteMode %d\n", (u8)seq_midi_sysex_remote_mode);
741
  FLUSH_BUFFER;
750
  FLUSH_BUFFER;