From 3f1aab0c2e3f7a577753861c81e66d65e8e3e080 Mon Sep 17 00:00:00 2001 From: Marian Rusu Date: Sun, 5 Nov 2017 17:47:34 +0000 Subject: lets_split: Fix matrix_init for ROW2COL Signed-off-by: Marian Rusu --- keyboards/lets_split/matrix.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'keyboards') diff --git a/keyboards/lets_split/matrix.c b/keyboards/lets_split/matrix.c index 4def27239c..47cda6fa80 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; -- cgit v1.2.3