diff options
| author | fauxpark <fauxpark@gmail.com> | 2019-07-05 02:05:21 +1000 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-07-04 09:05:21 -0700 |
| commit | bbd3e0533587c623bd9dd6e6db3b151faa55fda3 (patch) | |
| tree | c21dc5b34c3435c080788b559acbff14f22a972f | |
| parent | 8fb10edf97eb55b831b8ef326e075fb2c0e41e67 (diff) | |
| download | qmk_firmware-bbd3e0533587c623bd9dd6e6db3b151faa55fda3.tar.gz qmk_firmware-bbd3e0533587c623bd9dd6e6db3b151faa55fda3.zip | |
[Keyboard] update Wasdat custom matrix (#6247)
* Fix unselect_rows() for Wasdat custom matrix
* Add fix for matrix_scan() return too (#5984)
| -rw-r--r-- | keyboards/wasdat/matrix.c | 4 |
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) | |||
| 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 | ||
| @@ -480,5 +480,5 @@ uint8_t matrix_scan(void) | |||
| 480 | debounce(raw_matrix, matrix, MATRIX_ROWS, changed); | 480 | debounce(raw_matrix, matrix, MATRIX_ROWS, changed); |
| 481 | 481 | ||
| 482 | matrix_scan_quantum(); | 482 | matrix_scan_quantum(); |
| 483 | return 1; | 483 | return (uint8_t)changed; |
| 484 | } | 484 | } |
