Refactor use of matrix_scan_kb (#24200)
This commit is contained in:
parent
20ae67ba01
commit
02b43b4b60
24 changed files with 20 additions and 164 deletions
|
|
@ -79,8 +79,6 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row)
|
|||
void matrix_init_custom(void) {
|
||||
// initialize key pins
|
||||
init_pins();
|
||||
|
||||
matrix_init_kb();
|
||||
}
|
||||
|
||||
bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
|
|
@ -91,6 +89,5 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
|||
changed |= read_cols_on_row(current_matrix, current_row);
|
||||
}
|
||||
|
||||
matrix_scan_kb();
|
||||
return changed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue