Fix redox with DIODE_DIRECTION == ROW2COL (#3394)
The code for the redox keyboard was missing an appropriate #ifdef in the matrix_init function for the case where DIODE_DIRECTION == ROW2COL
This commit is contained in:
parent
c7b8e45ba1
commit
e954dfcf8c
1 changed files with 5 additions and 0 deletions
|
@ -119,8 +119,13 @@ void matrix_init(void)
|
||||||
debug_matrix = true;
|
debug_matrix = true;
|
||||||
debug_mouse = true;
|
debug_mouse = true;
|
||||||
// initialize row and col
|
// initialize row and col
|
||||||
|
#if (DIODE_DIRECTION == COL2ROW)
|
||||||
unselect_rows();
|
unselect_rows();
|
||||||
init_cols();
|
init_cols();
|
||||||
|
#elif (DIODE_DIRECTION == ROW2COL)
|
||||||
|
unselect_cols();
|
||||||
|
init_rows();
|
||||||
|
#endif
|
||||||
|
|
||||||
TX_RX_LED_INIT;
|
TX_RX_LED_INIT;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue