HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7b8e45
)
Fix redox with DIODE_DIRECTION == ROW2COL (#3394)
author
frederik-h
<frederik-h@users.noreply.github.com>
Sat, 14 Jul 2018 20:24:53 +0000
(22:24 +0200)
committer
Drashna Jaelre
<drashna@live.com>
Sat, 14 Jul 2018 20:24:53 +0000
(13:24 -0700)
The code for the redox keyboard was missing
an appropriate #ifdef in the matrix_init
function for the case where DIODE_DIRECTION == ROW2COL
keyboards/redox/matrix.c
patch
|
blob
|
blame
|
history
diff --git
a/keyboards/redox/matrix.c
b/keyboards/redox/matrix.c
index
1607775
..
00a5e66
100644
(file)
--- a/
keyboards/redox/matrix.c
+++ b/
keyboards/redox/matrix.c
@@
-119,8
+119,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;