aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common/matrix.c
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2020-05-02 22:44:36 +0100
committerzvecr <git@zvecr.com>2020-05-02 22:44:36 +0100
commit406dc2fb2d1e657db2d7235885722dd86d07ea08 (patch)
tree3f58907a434ef2cb5ce129489a6212d936eae75d /quantum/split_common/matrix.c
parente182a38e7c63179f11c94cd7d59f9bac829b85a8 (diff)
downloadqmk_firmware-406dc2fb2d1e657db2d7235885722dd86d07ea08.tar.gz
qmk_firmware-406dc2fb2d1e657db2d7235885722dd86d07ea08.zip
Move encoder_read to common location
Diffstat (limited to 'quantum/split_common/matrix.c')
-rw-r--r--quantum/split_common/matrix.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c
index 8b91f8ca8..95ee2433a 100644
--- a/quantum/split_common/matrix.c
+++ b/quantum/split_common/matrix.c
@@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24#include "config.h" 24#include "config.h"
25#include "transport.h" 25#include "transport.h"
26 26
27#ifdef ENCODER_ENABLE
28# include "encoder.h"
29#endif
30
31#define ERROR_DISCONNECT_COUNT 5 27#define ERROR_DISCONNECT_COUNT 5
32 28
33#define ROWS_PER_HAND (MATRIX_ROWS / 2) 29#define ROWS_PER_HAND (MATRIX_ROWS / 2)
@@ -255,9 +251,7 @@ void matrix_post_scan(void) {
255 matrix_scan_quantum(); 251 matrix_scan_quantum();
256 } else { 252 } else {
257 transport_slave(matrix + thisHand); 253 transport_slave(matrix + thisHand);
258#ifdef ENCODER_ENABLE 254
259 encoder_read();
260#endif
261 matrix_slave_scan_user(); 255 matrix_slave_scan_user();
262 } 256 }
263} 257}