diff options
Diffstat (limited to 'keyboards/sirius/uni660/rev2/matrix.c')
-rw-r--r-- | keyboards/sirius/uni660/rev2/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/sirius/uni660/rev2/matrix.c b/keyboards/sirius/uni660/rev2/matrix.c index 3e231b33b..355fa7e5e 100644 --- a/keyboards/sirius/uni660/rev2/matrix.c +++ b/keyboards/sirius/uni660/rev2/matrix.c | |||
@@ -27,6 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
27 | #include "matrix.h" | 27 | #include "matrix.h" |
28 | #include "timer.h" | 28 | #include "timer.h" |
29 | #include "debounce.h" | 29 | #include "debounce.h" |
30 | #include "protocol/serial.h" | ||
30 | 31 | ||
31 | #if (MATRIX_COLS <= 8) | 32 | #if (MATRIX_COLS <= 8) |
32 | # define print_matrix_header() print("\nr/c 01234567\n") | 33 | # define print_matrix_header() print("\nr/c 01234567\n") |
@@ -80,14 +81,13 @@ uint8_t matrix_cols(void) { | |||
80 | void matrix_init(void) { | 81 | void matrix_init(void) { |
81 | debounce_init(MATRIX_ROWS); | 82 | debounce_init(MATRIX_ROWS); |
82 | matrix_init_quantum(); | 83 | matrix_init_quantum(); |
84 | serial_init(); | ||
83 | } | 85 | } |
84 | 86 | ||
85 | uint8_t matrix_scan(void) | 87 | uint8_t matrix_scan(void) |
86 | { | 88 | { |
87 | bool matrix_has_changed = false; | 89 | bool matrix_has_changed = false; |
88 | 90 | ||
89 | SERIAL_UART_INIT(); | ||
90 | |||
91 | uint32_t timeout = 0; | 91 | uint32_t timeout = 0; |
92 | 92 | ||
93 | //the s character requests the RF slave to send the matrix | 93 | //the s character requests the RF slave to send the matrix |