diff options
Diffstat (limited to 'quantum/split_common')
| -rw-r--r-- | quantum/split_common/matrix.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c index f8de17809..039e7d977 100644 --- a/quantum/split_common/matrix.c +++ b/quantum/split_common/matrix.c | |||
| @@ -130,9 +130,7 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) | |||
| 130 | 130 | ||
| 131 | // Unselect row | 131 | // Unselect row |
| 132 | unselect_row(current_row); | 132 | unselect_row(current_row); |
| 133 | if (current_row + 1 < MATRIX_ROWS) { | 133 | matrix_output_unselect_delay(); // wait for all Col signals to go HIGH |
| 134 | matrix_output_unselect_delay(); // wait for row signal to go HIGH | ||
| 135 | } | ||
| 136 | 134 | ||
| 137 | // If the row has changed, store the row and return the changed flag. | 135 | // If the row has changed, store the row and return the changed flag. |
| 138 | if (current_matrix[current_row] != current_row_value) { | 136 | if (current_matrix[current_row] != current_row_value) { |
| @@ -192,9 +190,7 @@ static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col) | |||
| 192 | 190 | ||
| 193 | // Unselect col | 191 | // Unselect col |
| 194 | unselect_col(current_col); | 192 | unselect_col(current_col); |
| 195 | if (current_col + 1 < MATRIX_COLS) { | 193 | matrix_output_unselect_delay(); // wait for all Row signals to go HIGH |
| 196 | matrix_output_unselect_delay(); // wait for col signal to go HIGH | ||
| 197 | } | ||
| 198 | 194 | ||
| 199 | return matrix_changed; | 195 | return matrix_changed; |
| 200 | } | 196 | } |
