forked from forks/qmk_firmware
[Keyboard] update Wasdat custom matrix (#6247)
* Fix unselect_rows() for Wasdat custom matrix * Add fix for matrix_scan() return too (#5984)
This commit is contained in:
parent
8fb10edf97
commit
bbd3e05335
|
@ -183,7 +183,7 @@ static void unselect_row(uint8_t row)
|
||||||
static void unselect_rows(void)
|
static void unselect_rows(void)
|
||||||
{
|
{
|
||||||
for(uint8_t x = 0; x < MATRIX_ROWS; x++) {
|
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);
|
debounce(raw_matrix, matrix, MATRIX_ROWS, changed);
|
||||||
|
|
||||||
matrix_scan_quantum();
|
matrix_scan_quantum();
|
||||||
return 1;
|
return (uint8_t)changed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue