Subversion Repositories svn.mios32

Rev

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

Rev 2308 Rev 2322
Line 1... Line 1...
1
// $Id: seq_file_hw.c 2308 2016-02-14 19:30:07Z tk $
1
// $Id: seq_file_hw.c 2322 2016-03-15 19:08:38Z tk $
2
/*
2
/*
3
 * Hardware Soft-Config File access functions
3
 * Hardware Soft-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 394... Line 394...
394
        seq_hwcfg_button.follow = din_value;
394
        seq_hwcfg_button.follow = din_value;
395
      } else if( strcasecmp(parameter, "METRONOME") == 0 ) {
395
      } else if( strcasecmp(parameter, "METRONOME") == 0 ) {
396
        seq_hwcfg_button.metronome = din_value;
396
        seq_hwcfg_button.metronome = din_value;
397
      } else if( strcasecmp(parameter, "RECORD") == 0 ) {
397
      } else if( strcasecmp(parameter, "RECORD") == 0 ) {
398
        seq_hwcfg_button.record = din_value;
398
        seq_hwcfg_button.record = din_value;
-
 
399
      } else if( strcasecmp(parameter, "JAM_LIVE") == 0 ) {
-
 
400
        seq_hwcfg_button.jam_live = din_value;
-
 
401
      } else if( strcasecmp(parameter, "JAM_STEP") == 0 ) {
-
 
402
        seq_hwcfg_button.jam_live = din_value;
399
      } else if( strcasecmp(parameter, "LIVE") == 0 ) {
403
      } else if( strcasecmp(parameter, "LIVE") == 0 ) {
400
        seq_hwcfg_button.live = din_value;
404
        seq_hwcfg_button.live = din_value;
401
      } else if( strcasecmp(parameter, "STOP") == 0 ) {
405
      } else if( strcasecmp(parameter, "STOP") == 0 ) {
402
        seq_hwcfg_button.stop = din_value;
406
        seq_hwcfg_button.stop = din_value;
403
      } else if( strcasecmp(parameter, "PAUSE") == 0 ) {
407
      } else if( strcasecmp(parameter, "PAUSE") == 0 ) {
Line 655... Line 659...
655
        seq_hwcfg_led.follow = dout_value;
659
        seq_hwcfg_led.follow = dout_value;
656
      } else if( strcasecmp(parameter, "METRONOME") == 0 ) {
660
      } else if( strcasecmp(parameter, "METRONOME") == 0 ) {
657
        seq_hwcfg_led.metronome = dout_value;
661
        seq_hwcfg_led.metronome = dout_value;
658
      } else if( strcasecmp(parameter, "RECORD") == 0 ) {
662
      } else if( strcasecmp(parameter, "RECORD") == 0 ) {
659
        seq_hwcfg_led.record = dout_value;
663
        seq_hwcfg_led.record = dout_value;
-
 
664
      } else if( strcasecmp(parameter, "JAM_LIVE") == 0 ) {
-
 
665
        seq_hwcfg_led.jam_live = dout_value;
-
 
666
      } else if( strcasecmp(parameter, "JAM_STEP") == 0 ) {
-
 
667
        seq_hwcfg_led.jam_step = dout_value;
660
      } else if( strcasecmp(parameter, "LIVE") == 0 ) {
668
      } else if( strcasecmp(parameter, "LIVE") == 0 ) {
661
        seq_hwcfg_led.live = dout_value;
669
        seq_hwcfg_led.live = dout_value;
662
      } else if( strcasecmp(parameter, "UTILITY") == 0 ) {
670
      } else if( strcasecmp(parameter, "UTILITY") == 0 ) {
663
        seq_hwcfg_led.utility = dout_value;
671
        seq_hwcfg_led.utility = dout_value;
664
      } else if( strcasecmp(parameter, "COPY") == 0 ) {
672
      } else if( strcasecmp(parameter, "COPY") == 0 ) {