Update keyboards/skyloong/gk104/q1/matrix.c

OK, Thank you.

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
JIKEDINGZHI 2024-03-12 16:14:04 +08:00 committed by NaturalZh
parent 8aa6b64ccc
commit 1f6a3e9b36

View File

@ -135,17 +135,7 @@ __attribute__((weak)) void matrix_read_rows_on_col(matrix_row_t current_matrix[]
}
void matrix_init_custom(void) {
// initialize key pins
matrix_init_pins();
// initialize matrix state: all keys off
memset(matrix, 0, sizeof(matrix));
memset(raw_matrix, 0, sizeof(raw_matrix));
debounce_init(MATRIX_ROWS);
matrix_init_kb();
}
bool matrix_scan_custom(matrix_row_t current_matrix[]) {