summaryrefslogtreecommitdiff
path: root/quantum/split_common
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2020-05-02 22:44:36 +0100
committerDrashna Jael're <drashna@live.com>2020-08-08 20:59:30 -0700
commit9e607a70aed0b6245e693acb77232809df0ffea4 (patch)
tree029e57e4cef617e4108ed4a2e569e869d6404e1d /quantum/split_common
parentc759836a16b6035a8c2ef94475d270f1683ae7dc (diff)
Move encoder_read to common location (qmk#9003)
Diffstat (limited to 'quantum/split_common')
-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();
}
}