diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2019-07-04 03:50:06 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-07-03 11:50:06 -0700 |
commit | f268993760cc805c95f236917251cc97ee94b2c1 (patch) | |
tree | 671c4a4658c47b0e9e93cf8ccadc1a1f5df4ea06 /quantum/matrix.c | |
parent | c0c8b2e50d0da5813aac3c6bc69540f81b1dae04 (diff) | |
download | qmk_firmware-f268993760cc805c95f236917251cc97ee94b2c1.tar.gz qmk_firmware-f268993760cc805c95f236917251cc97ee94b2c1.zip |
fix unselect_rows() in quantum/matrix.c (#6243)
unselect_col() uses setPinInputHigh(), but unselect_cols() uses setPinInput().
This is not correct. unselect_cols() should also use setPinInputHigh().
Diffstat (limited to 'quantum/matrix.c')
-rw-r--r-- | quantum/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c index e222a3097..7ccac3533 100644 --- a/quantum/matrix.c +++ b/quantum/matrix.c | |||
@@ -183,7 +183,7 @@ static void unselect_row(uint8_t row) | |||
183 | static void unselect_rows(void) | 183 | static void unselect_rows(void) |
184 | { | 184 | { |
185 | for(uint8_t x = 0; x < MATRIX_ROWS; x++) { | 185 | for(uint8_t x = 0; x < MATRIX_ROWS; x++) { |
186 | setPinInput(row_pins[x]); | 186 | setPinInputHigh(row_pins[x]); |
187 | } | 187 | } |
188 | } | 188 | } |
189 | 189 | ||