Subversion Repositories svn.mios32

Rev

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

Rev 2301 Rev 2308
Line 1... Line 1...
1
// $Id: seq_file_hw.c 2301 2016-02-10 20:31:46Z tk $
1
// $Id: seq_file_hw.c 2308 2016-02-14 19:30:07Z 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 469... Line 469...
469
        seq_hwcfg_button.paste = din_value;
469
        seq_hwcfg_button.paste = din_value;
470
      } else if( strcasecmp(parameter, "CLEAR") == 0 ) {
470
      } else if( strcasecmp(parameter, "CLEAR") == 0 ) {
471
        seq_hwcfg_button.clear = din_value;
471
        seq_hwcfg_button.clear = din_value;
472
      } else if( strcasecmp(parameter, "UNDO") == 0 ) {
472
      } else if( strcasecmp(parameter, "UNDO") == 0 ) {
473
        seq_hwcfg_button.undo = din_value;
473
        seq_hwcfg_button.undo = din_value;
-
 
474
      } else if( strcasecmp(parameter, "MOVE") == 0 ) {
-
 
475
        seq_hwcfg_button.move = din_value;
-
 
476
      } else if( strcasecmp(parameter, "SCROLL") == 0 ) {
-
 
477
        seq_hwcfg_button.scroll = din_value;
474
      } else if( strcasecmp(parameter, "MIXER") == 0 ) {
478
      } else if( strcasecmp(parameter, "MIXER") == 0 ) {
475
        seq_hwcfg_button.mixer = din_value;
479
        seq_hwcfg_button.mixer = din_value;
476
      } else if( strcasecmp(parameter, "SAVE") == 0 ) {
480
      } else if( strcasecmp(parameter, "SAVE") == 0 ) {
477
        seq_hwcfg_button.save = din_value;
481
        seq_hwcfg_button.save = din_value;
478
      } else if( strcasecmp(parameter, "SAVE_ALL") == 0 ) {
482
      } else if( strcasecmp(parameter, "SAVE_ALL") == 0 ) {
Line 663... Line 667...
663
        seq_hwcfg_led.paste = dout_value;
667
        seq_hwcfg_led.paste = dout_value;
664
      } else if( strcasecmp(parameter, "CLEAR") == 0 ) {
668
      } else if( strcasecmp(parameter, "CLEAR") == 0 ) {
665
        seq_hwcfg_led.clear = dout_value;
669
        seq_hwcfg_led.clear = dout_value;
666
      } else if( strcasecmp(parameter, "UNDO") == 0 ) {
670
      } else if( strcasecmp(parameter, "UNDO") == 0 ) {
667
        seq_hwcfg_led.undo = dout_value;
671
        seq_hwcfg_led.undo = dout_value;
-
 
672
      } else if( strcasecmp(parameter, "MOVE") == 0 ) {
-
 
673
        seq_hwcfg_led.move = dout_value;
-
 
674
      } else if( strcasecmp(parameter, "SCROLL") == 0 ) {
-
 
675
        seq_hwcfg_led.scroll = dout_value;
668
      } else if( strcasecmp(parameter, "STEP_VIEW") == 0 ) {
676
      } else if( strcasecmp(parameter, "STEP_VIEW") == 0 ) {
669
        seq_hwcfg_led.step_view = dout_value;
677
        seq_hwcfg_led.step_view = dout_value;
670
      } else if( strcasecmp(parameter, "TRG_LAYER_SEL") == 0 ) {
678
      } else if( strcasecmp(parameter, "TRG_LAYER_SEL") == 0 ) {
671
        seq_hwcfg_led.trg_layer_sel = dout_value;
679
        seq_hwcfg_led.trg_layer_sel = dout_value;
672
      } else if( strcasecmp(parameter, "PAR_LAYER_SEL") == 0 ) {
680
      } else if( strcasecmp(parameter, "PAR_LAYER_SEL") == 0 ) {