summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2019-07-04 03:50:06 +0900
committerDrashna Jaelre <drashna@live.com>2019-07-03 11:50:06 -0700
commitf268993760cc805c95f236917251cc97ee94b2c1 (patch)
tree671c4a4658c47b0e9e93cf8ccadc1a1f5df4ea06
parentc0c8b2e50d0da5813aac3c6bc69540f81b1dae04 (diff)
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().
-rw-r--r--quantum/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/matrix.c b/quantum/matrix.c
index e222a30976..7ccac35331 100644
--- a/quantum/matrix.c
+++ b/quantum/matrix.c
@@ -183,7 +183,7 @@ static void unselect_row(uint8_t row)
static void unselect_rows(void)
{
for(uint8_t x = 0; x < MATRIX_ROWS; x++) {
- setPinInput(row_pins[x]);
+ setPinInputHigh(row_pins[x]);
}
}