diff options
author | frederik-h <frederik-h@users.noreply.github.com> | 2018-07-14 22:24:53 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-14 13:24:53 -0700 |
commit | e954dfcf8c5deef29e46393816740f1ccf6e480b (patch) | |
tree | e0d3335ecab6b293ca502d2e00aa7e730ab3d7fc /keyboards | |
parent | c7b8e45ba15eb31ddaa3ac49983e3e94bfc86f6e (diff) | |
download | qmk_firmware-e954dfcf8c5deef29e46393816740f1ccf6e480b.tar.gz qmk_firmware-e954dfcf8c5deef29e46393816740f1ccf6e480b.zip |
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
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/redox/matrix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/redox/matrix.c b/keyboards/redox/matrix.c index 1607775bd6..00a5e6648f 100644 --- 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; |