Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
		
						commit
						d72f29556a
					
				
					 5 changed files with 58 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -33,6 +33,18 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS];
 | 
			
		|||
static matrix_row_t read_cols(void);
 | 
			
		||||
static void select_row(uint8_t col);
 | 
			
		||||
 | 
			
		||||
// user-defined overridable functions
 | 
			
		||||
 | 
			
		||||
__attribute__((weak)) void matrix_init_kb(void) { matrix_init_user(); }
 | 
			
		||||
 | 
			
		||||
__attribute__((weak)) void matrix_scan_kb(void) { matrix_scan_user(); }
 | 
			
		||||
 | 
			
		||||
__attribute__((weak)) void matrix_init_user(void) {}
 | 
			
		||||
 | 
			
		||||
__attribute__((weak)) void matrix_scan_user(void) {}
 | 
			
		||||
 | 
			
		||||
// helper functions
 | 
			
		||||
 | 
			
		||||
inline uint8_t matrix_rows(void)
 | 
			
		||||
{
 | 
			
		||||
  return MATRIX_ROWS;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue