aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/split_common/matrix.c')
-rw-r--r--quantum/split_common/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c
index bad762b49..d6636b886 100644
--- a/quantum/split_common/matrix.c
+++ b/quantum/split_common/matrix.c
@@ -257,7 +257,7 @@ bool matrix_post_scan(void) {
257 static uint8_t error_count; 257 static uint8_t error_count;
258 258
259 matrix_row_t slave_matrix[ROWS_PER_HAND] = {0}; 259 matrix_row_t slave_matrix[ROWS_PER_HAND] = {0};
260 if (!transport_master(slave_matrix)) { 260 if (!transport_master(matrix + thisHand, slave_matrix)) {
261 error_count++; 261 error_count++;
262 262
263 if (error_count > ERROR_DISCONNECT_COUNT) { 263 if (error_count > ERROR_DISCONNECT_COUNT) {
@@ -282,7 +282,7 @@ bool matrix_post_scan(void) {
282 282
283 matrix_scan_quantum(); 283 matrix_scan_quantum();
284 } else { 284 } else {
285 transport_slave(matrix + thisHand); 285 transport_slave(matrix + thatHand, matrix + thisHand);
286 286
287 matrix_slave_scan_user(); 287 matrix_slave_scan_user();
288 } 288 }