[Keyboard] Fix matrix_output_unselect_delay for handwired/xealousbrown (#13913)
This commit is contained in:
parent
243e75659c
commit
d06f50a31a
1 changed files with 2 additions and 3 deletions
|
@ -100,7 +100,7 @@ uint8_t matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||||
// Set row, read cols
|
// Set row, read cols
|
||||||
for (uint8_t current_row = 0; current_row < MATRIX_ROWS; current_row++) {
|
for (uint8_t current_row = 0; current_row < MATRIX_ROWS; current_row++) {
|
||||||
select_row(current_row);
|
select_row(current_row);
|
||||||
matrix_output_select_delay();
|
matrix_output_unselect_delay(current_row, changed);
|
||||||
|
|
||||||
matrix_row_t cols = read_cols();
|
matrix_row_t cols = read_cols();
|
||||||
changed |= (current_matrix[current_row] != cols);
|
changed |= (current_matrix[current_row] != cols);
|
||||||
|
@ -108,9 +108,8 @@ uint8_t matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||||
|
|
||||||
unselect_rows();
|
unselect_rows();
|
||||||
//this internally calls matrix_io_delay()
|
//this internally calls matrix_io_delay()
|
||||||
matrix_output_unselect_delay();
|
matrix_output_unselect_delay(current_row, changed);
|
||||||
}
|
}
|
||||||
|
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue