diff options
author | XScorpion2 <rcalt2vt@gmail.com> | 2021-02-15 18:30:33 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 11:30:33 +1100 |
commit | d1806a26e4ad75fa0e0405283803eba22c1a49ba (patch) | |
tree | 25bf2750e9770781cff373114bd44736463a91f1 /quantum/split_common/matrix.c | |
parent | 1bc8a6e5d49861b268f9274a8686a2640e36e0b5 (diff) | |
download | qmk_firmware-d1806a26e4ad75fa0e0405283803eba22c1a49ba.tar.gz qmk_firmware-d1806a26e4ad75fa0e0405283803eba22c1a49ba.zip |
Split transport mirror (#11046)
* Split transport mirror support
* Updated RGB Matrix to respond to electrical events instead of key events
* split matrix slave fix
Diffstat (limited to 'quantum/split_common/matrix.c')
-rw-r--r-- | quantum/split_common/matrix.c | 4 |
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 | } |