Skip to content

Commit

Permalink
lets_split: Fix matrix_init for ROW2COL
Browse files Browse the repository at this point in the history
Signed-off-by: Marian Rusu <[email protected]>
  • Loading branch information
mrusu91 authored and jackhumbert committed Nov 13, 2017
1 parent 43edc83 commit 3f1aab0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions keyboards/lets_split/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3f1aab0

Please sign in to comment.