diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2019-02-19 06:55:20 +0900 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-02-18 13:55:20 -0800 |
| commit | 030faf951cb99840394c56803958f249383e9362 (patch) | |
| tree | 627709e3d1b331feaa96f9a4717923f754b0956e /quantum/split_common | |
| parent | 100697ebab662b3c19299cf0002d77bac3f00ca6 (diff) | |
| download | qmk_firmware-030faf951cb99840394c56803958f249383e9362.tar.gz qmk_firmware-030faf951cb99840394c56803958f249383e9362.zip | |
Fix `quantum/split_common/matrix.c: select_col()/select_row()` (#5174)
* add temporary pdhelix(Patched Helix) code
* add test code into quantum/split_common/matrix.c
* add test code into keyboards/handwired/pdhelix/
* Revert "add test code into keyboards/handwired/pdhelix/"
This reverts commit 9ed98f0797ddd962c99756689fc4ecb4cd067d3d.
* Revert "add test code into quantum/split_common/matrix.c"
This reverts commit 1876d3ed69f6c213153a9f6476192be839f16c1f.
* Revert "add temporary pdhelix(Patched Helix) code"
This reverts commit 41ac92b814e3f894eaf85bc3e5bb945895342fa8.
* fix quantum/split_common/matrix.c: select_col()/select_row()
Diffstat (limited to 'quantum/split_common')
| -rw-r--r-- | quantum/split_common/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c index c3d2857ed..f2a277c69 100644 --- a/quantum/split_common/matrix.c +++ b/quantum/split_common/matrix.c | |||
| @@ -143,8 +143,8 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) | |||
| 143 | #elif (DIODE_DIRECTION == COL2ROW) | 143 | #elif (DIODE_DIRECTION == COL2ROW) |
| 144 | 144 | ||
| 145 | static void select_row(uint8_t row) { | 145 | static void select_row(uint8_t row) { |
| 146 | writePinLow(row_pins[row]); | ||
| 147 | setPinOutput(row_pins[row]); | 146 | setPinOutput(row_pins[row]); |
| 147 | writePinLow(row_pins[row]); | ||
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | static void unselect_row(uint8_t row) { setPinInputHigh(row_pins[row]); } | 150 | static void unselect_row(uint8_t row) { setPinInputHigh(row_pins[row]); } |
| @@ -188,8 +188,8 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) | |||
| 188 | #elif (DIODE_DIRECTION == ROW2COL) | 188 | #elif (DIODE_DIRECTION == ROW2COL) |
| 189 | 189 | ||
| 190 | static void select_col(uint8_t col) { | 190 | static void select_col(uint8_t col) { |
| 191 | writePinLow(col_pins[col]); | ||
| 192 | setPinOutput(col_pins[col]); | 191 | setPinOutput(col_pins[col]); |
| 192 | writePinLow(col_pins[col]); | ||
| 193 | } | 193 | } |
| 194 | 194 | ||
| 195 | static void unselect_col(uint8_t col) { setPinInputHigh(col_pins[col]); } | 195 | static void unselect_col(uint8_t col) { setPinInputHigh(col_pins[col]); } |
