diff options
author | Marian Rusu <rusumarian91@gmail.com> | 2017-11-05 18:47:34 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-11-14 00:52:57 +0100 |
commit | 3f1aab0c2e3f7a577753861c81e66d65e8e3e080 (patch) | |
tree | fdd23b655ca5ed510eb0c35ca15fc881c90dc8d5 | |
parent | 43edc839982d08c9300e550b2bb9e869b541ce57 (diff) | |
download | qmk_firmware-3f1aab0c2e3f7a577753861c81e66d65e8e3e080.tar.gz qmk_firmware-3f1aab0c2e3f7a577753861c81e66d65e8e3e080.tar.xz |
lets_split: Fix matrix_init for ROW2COL
Signed-off-by: Marian Rusu <rusumarian91@gmail.com>
-rw-r--r-- | keyboards/lets_split/matrix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/lets_split/matrix.c b/keyboards/lets_split/matrix.c index 4def27239..47cda6fa8 100644 --- a/keyboards/lets_split/matrix.c +++ b/keyboards/lets_split/matrix.c @@ -128,8 +128,13 @@ void matrix_init(void) debug_matrix = true; debug_mouse = true; // initialize row and col +#if (DIODE_DIRECTION == COL2ROW) unselect_rows(); init_cols(); +#elif (DIODE_DIRECTION == ROW2COL) + unselect_cols(); + init_rows(); +#endif TX_RX_LED_INIT; |