aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/redox/matrix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/redox/matrix.c b/keyboards/redox/matrix.c
index 1607775bd..00a5e6648 100644
--- a/keyboards/redox/matrix.c
+++ b/keyboards/redox/matrix.c
@@ -119,8 +119,13 @@ void matrix_init(void)
119 debug_matrix = true; 119 debug_matrix = true;
120 debug_mouse = true; 120 debug_mouse = true;
121 // initialize row and col 121 // initialize row and col
122#if (DIODE_DIRECTION == COL2ROW)
122 unselect_rows(); 123 unselect_rows();
123 init_cols(); 124 init_cols();
125#elif (DIODE_DIRECTION == ROW2COL)
126 unselect_cols();
127 init_rows();
128#endif
124 129
125 TX_RX_LED_INIT; 130 TX_RX_LED_INIT;
126 131