Subversion Repositories svn.mios32

Rev

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

Rev 1109 Rev 2425
Line 1... Line 1...
1
// $Id: app.c 1109 2010-10-11 23:14:49Z tk $
1
// $Id: app.c 2425 2016-11-03 00:44:22Z tk $
2
/*
2
/*
3
 * Example for a "fastscan button matrix"
3
 * Example for a "fastscan button matrix"
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 98... Line 98...
98
  // initialize keyboard delay values
98
  // initialize keyboard delay values
99
  keyboard_delay_fastest = INITIAL_KEYBOARD_DELAY_FASTEST;
99
  keyboard_delay_fastest = INITIAL_KEYBOARD_DELAY_FASTEST;
100
  keyboard_delay_slowest = INITIAL_KEYBOARD_DELAY_SLOWEST;
100
  keyboard_delay_slowest = INITIAL_KEYBOARD_DELAY_SLOWEST;
101
101
102
  // start matrix scan task
102
  // start matrix scan task
103
  xTaskCreate(TASK_MatrixScan, (signed portCHAR *)"MatrixScan", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_MATRIX_SCAN, NULL);
103
  xTaskCreate(TASK_MatrixScan, "MatrixScan", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_MATRIX_SCAN, NULL);
104
}
104
}
105
105
106
106
107
/////////////////////////////////////////////////////////////////////////////
107
/////////////////////////////////////////////////////////////////////////////
108
// This task is running endless in background
108
// This task is running endless in background