From f6111d49bbfeb90fdb86c4595ba339590b364da7 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 25 Feb 2020 14:10:04 +0000 Subject: Split - Avoid race condition during matrix_init_quantum (#8235) * Avoid race condition during matrix_init_quantum * spelling is hard --- quantum/split_common/matrix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'quantum/split_common/matrix.c') diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c index a82334128b..8b91f8ca83 100644 --- a/quantum/split_common/matrix.c +++ b/quantum/split_common/matrix.c @@ -190,7 +190,7 @@ static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col) #endif void matrix_init(void) { - keyboard_split_setup(); + split_pre_init(); // Set pinout for right half if pinout for that half is defined if (!isLeftHand) { @@ -231,6 +231,8 @@ void matrix_init(void) { debounce_init(ROWS_PER_HAND); matrix_init_quantum(); + + split_post_init(); } void matrix_post_scan(void) { -- cgit v1.2.3