aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-07-05 02:05:21 +1000
committerDrashna Jaelre <drashna@live.com>2019-07-04 09:05:21 -0700
commitbbd3e0533587c623bd9dd6e6db3b151faa55fda3 (patch)
treec21dc5b34c3435c080788b559acbff14f22a972f /keyboards
parent8fb10edf97eb55b831b8ef326e075fb2c0e41e67 (diff)
downloadfirmware-bbd3e0533587c623bd9dd6e6db3b151faa55fda3.tar.gz
firmware-bbd3e0533587c623bd9dd6e6db3b151faa55fda3.tar.bz2
firmware-bbd3e0533587c623bd9dd6e6db3b151faa55fda3.zip
[Keyboard] update Wasdat custom matrix (#6247)
* Fix unselect_rows() for Wasdat custom matrix * Add fix for matrix_scan() return too (#5984)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/wasdat/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/wasdat/matrix.c b/keyboards/wasdat/matrix.c
index b481e5394..04d221971 100644
--- a/keyboards/wasdat/matrix.c
+++ b/keyboards/wasdat/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]);
}
}
@@ -480,5 +480,5 @@ uint8_t matrix_scan(void)
debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
matrix_scan_quantum();
- return 1;
+ return (uint8_t)changed;
}