|
@@ -24,10 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#include "config.h"
|
|
#include "config.h"
|
|
#include "transport.h"
|
|
#include "transport.h"
|
|
|
|
|
|
-#ifdef ENCODER_ENABLE
|
|
|
|
-# include "encoder.h"
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#define ERROR_DISCONNECT_COUNT 5
|
|
#define ERROR_DISCONNECT_COUNT 5
|
|
|
|
|
|
#define ROWS_PER_HAND (MATRIX_ROWS / 2)
|
|
#define ROWS_PER_HAND (MATRIX_ROWS / 2)
|
|
@@ -255,9 +251,7 @@ void matrix_post_scan(void) {
|
|
matrix_scan_quantum();
|
|
matrix_scan_quantum();
|
|
} else {
|
|
} else {
|
|
transport_slave(matrix + thisHand);
|
|
transport_slave(matrix + thisHand);
|
|
-#ifdef ENCODER_ENABLE
|
|
|
|
- encoder_read();
|
|
|
|
-#endif
|
|
|
|
|
|
+
|
|
matrix_slave_scan_user();
|
|
matrix_slave_scan_user();
|
|
}
|
|
}
|
|
}
|
|
}
|