forked from mirrors/qmk_userspace
		
	Bug fix - was using MATRIX_ROWS instead of num_rows
This commit is contained in:
		
					parent
					
						
							
								b5b119544a
							
						
					
				
			
			
				commit
				
					
						7cb8d3c7a7
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -45,7 +45,7 @@ void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool
 | 
				
			||||||
#else //no debouncing.
 | 
					#else //no debouncing.
 | 
				
			||||||
void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed)
 | 
					void debounce(matrix_row_t raw[], matrix_row_t cooked[], uint8_t num_rows, bool changed)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  for (int i = 0; i < MATRIX_ROWS; i++) {
 | 
					  for (int i = 0; i < num_rows; i++) {
 | 
				
			||||||
    cooked[i] = raw[i];
 | 
					    cooked[i] = raw[i];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue