Subversion Repositories svn.mios32

Rev

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

Rev 674 Rev 2425
Line 61... Line 61...
61
  BLM_X_Init();
61
  BLM_X_Init();
62
  blm_x_conf = BLM_X_ConfigGet();
62
  blm_x_conf = BLM_X_ConfigGet();
63
  blm_x_conf.debounce_delay = 10;
63
  blm_x_conf.debounce_delay = 10;
64
  BLM_X_ConfigSet(blm_x_conf);
64
  BLM_X_ConfigSet(blm_x_conf);
65
  // start BLM check task
65
  // start BLM check task
66
  xTaskCreate(TASK_BLM_Check, (signed portCHAR *)"BLM_Check", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_BLM_CHECK, NULL);
66
  xTaskCreate(TASK_BLM_Check, "BLM_Check", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_BLM_CHECK, NULL);
67
  //send init message
67
  //send init message
68
  MIOS32_MIDI_SendDebugMessage("BLM_X Test-Application Started");
68
  MIOS32_MIDI_SendDebugMessage("BLM_X Test-Application Started");
69
  //display all possible LED color combinations (if matrix is big enough!)
69
  //display all possible LED color combinations (if matrix is big enough!)
70
  for(i=0;i < BLM_X_NUM_ROWS*BLM_X_LED_NUM_COLS; i++){
70
  for(i=0;i < BLM_X_NUM_ROWS*BLM_X_LED_NUM_COLS; i++){
71
    if((++last_led_color) >> BLM_X_LED_NUM_COLORS)
71
    if((++last_led_color) >> BLM_X_LED_NUM_COLORS)