diff options
Diffstat (limited to 'keyboards/centromere/matrix.c')
-rw-r--r-- | keyboards/centromere/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/centromere/matrix.c b/keyboards/centromere/matrix.c index c5fc8db6c..5ca083b43 100644 --- a/keyboards/centromere/matrix.c +++ b/keyboards/centromere/matrix.c | |||
@@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
26 | #include "util.h" | 26 | #include "util.h" |
27 | #include "matrix.h" | 27 | #include "matrix.h" |
28 | #include "timer.h" | 28 | #include "timer.h" |
29 | #include "protocol/serial.h" | ||
29 | 30 | ||
30 | #if (MATRIX_COLS <= 8) | 31 | #if (MATRIX_COLS <= 8) |
31 | # define print_matrix_header() print("\nr/c 01234567\n") | 32 | # define print_matrix_header() print("\nr/c 01234567\n") |
@@ -79,12 +80,11 @@ uint8_t matrix_cols(void) { | |||
79 | void matrix_init(void) { | 80 | void matrix_init(void) { |
80 | 81 | ||
81 | matrix_init_quantum(); | 82 | matrix_init_quantum(); |
83 | serial_init(); | ||
82 | } | 84 | } |
83 | 85 | ||
84 | uint8_t matrix_scan(void) | 86 | uint8_t matrix_scan(void) |
85 | { | 87 | { |
86 | SERIAL_UART_INIT(); | ||
87 | |||
88 | uint32_t timeout = 0; | 88 | uint32_t timeout = 0; |
89 | 89 | ||
90 | //the s character requests the RF remote slave to send the matrix information | 90 | //the s character requests the RF remote slave to send the matrix information |