Refactor use of matrix_scan_kb (#24200)

This commit is contained in:
Joel Challis 2024-07-27 06:02:51 +01:00 committed by GitHub
parent 20ae67ba01
commit 02b43b4b60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 20 additions and 164 deletions

View file

@ -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;
}