diff options
Diffstat (limited to 'keyboards/redox_w/matrix.c')
-rw-r--r-- | keyboards/redox_w/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/redox_w/matrix.c b/keyboards/redox_w/matrix.c index 31233af10..15ca66e34 100644 --- a/keyboards/redox_w/matrix.c +++ b/keyboards/redox_w/matrix.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "util.h" | 24 | #include "util.h" |
25 | #include "matrix.h" | 25 | #include "matrix.h" |
26 | #include "timer.h" | 26 | #include "timer.h" |
27 | #include "protocol/serial.h" | ||
27 | 28 | ||
28 | #if (MATRIX_COLS <= 8) | 29 | #if (MATRIX_COLS <= 8) |
29 | # define print_matrix_header() print("\nr/c 01234567\n") | 30 | # define print_matrix_header() print("\nr/c 01234567\n") |
@@ -86,12 +87,11 @@ uint8_t matrix_cols(void) { | |||
86 | void matrix_init(void) { | 87 | void matrix_init(void) { |
87 | 88 | ||
88 | matrix_init_quantum(); | 89 | matrix_init_quantum(); |
90 | serial_init(); | ||
89 | } | 91 | } |
90 | 92 | ||
91 | uint8_t matrix_scan(void) | 93 | uint8_t matrix_scan(void) |
92 | { | 94 | { |
93 | SERIAL_UART_INIT(); | ||
94 | |||
95 | uint32_t timeout = 0; | 95 | uint32_t timeout = 0; |
96 | 96 | ||
97 | //the s character requests the RF slave to send the matrix | 97 | //the s character requests the RF slave to send the matrix |