summaryrefslogtreecommitdiff
path: root/quantum/split_common/matrix.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-06-03 00:54:53 +0100
committerGitHub <noreply@github.com>2020-06-03 00:54:53 +0100
commitd17572b125113928b56e19bfaefae5d13a912f5e (patch)
tree76bfa45b253f28361da86f5d902103022fc57f85 /quantum/split_common/matrix.c
parent517d607fa4292a03fb8a880a07d27cb14020ed1d (diff)
parent406dc2fb2d1e657db2d7235885722dd86d07ea08 (diff)
Move encoder_read to common location (#9003)
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 c3b43020ca..5bad9db08f 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/>.
#include "config.h"
#include "transport.h"
-#ifdef ENCODER_ENABLE
-# include "encoder.h"
-#endif
-
#define ERROR_DISCONNECT_COUNT 5
#define ROWS_PER_HAND (MATRIX_ROWS / 2)
@@ -264,9 +260,7 @@ void matrix_post_scan(void) {
matrix_scan_quantum();
} else {
transport_slave(matrix + thisHand);
-#ifdef ENCODER_ENABLE
- encoder_read();
-#endif
+
matrix_slave_scan_user();
}
}