Skip to content

Commit

Permalink
[Keyboard] Fix matrix_output_unselect_delay for handwired/xealousbrown (
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Aug 7, 2021
1 parent 243e756 commit d06f50a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions keyboards/handwired/xealousbrown/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,16 @@ uint8_t matrix_scan_custom(matrix_row_t current_matrix[]) {
// Set row, read cols
for (uint8_t current_row = 0; current_row < MATRIX_ROWS; current_row++) {
select_row(current_row);
matrix_output_select_delay();
matrix_output_unselect_delay(current_row, changed);

matrix_row_t cols = read_cols();
changed |= (current_matrix[current_row] != cols);
current_matrix[current_row] = cols;

unselect_rows();
//this internally calls matrix_io_delay()
matrix_output_unselect_delay();
matrix_output_unselect_delay(current_row, changed);
}

return changed;
}

0 comments on commit d06f50a

Please sign in to comment.