From c79bc7c9094b7bed26450e85040df6ef91239aed Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 22 Jul 2021 04:28:58 +1000 Subject: [PATCH] Fix MATRIX_COLS for peranekofactory/tone (#13632) --- keyboards/peranekofactory/tone/rev1/config.h | 12 +++--------- keyboards/peranekofactory/tone/rev2/config.h | 9 ++------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/keyboards/peranekofactory/tone/rev1/config.h b/keyboards/peranekofactory/tone/rev1/config.h index 22658c9c781..54a59ed5515 100644 --- a/keyboards/peranekofactory/tone/rev1/config.h +++ b/keyboards/peranekofactory/tone/rev1/config.h @@ -28,7 +28,7 @@ along with this program. If not, see . /* key matrix size */ #define MATRIX_ROWS 1 -#define MATRIX_COLS 10 +#define MATRIX_COLS 8 /* * Keyboard Matrix Assignments @@ -42,19 +42,13 @@ along with this program. If not, see . */ #define DIRECT_PINS { \ - { D4, C6, D7, E6, F6, F7, B1, B3 } \ + { D4, C6, D7, E6, F6, F7, B1, B3 } \ } #define UNUSED_PINS -/* -#define MATRIX_ROW_PINS { NO_PIN } -#define MATRIX_COL_PINS { F6,F7,B1,B3,D4,C6,D7,E6 } -#define UNUSED_PINS -*/ - /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW - + /* Rotary encoder define*/ #define ENCODERS_PAD_A { B5 } #define ENCODERS_PAD_B { B4 } diff --git a/keyboards/peranekofactory/tone/rev2/config.h b/keyboards/peranekofactory/tone/rev2/config.h index f49c38e4b83..54a59ed5515 100644 --- a/keyboards/peranekofactory/tone/rev2/config.h +++ b/keyboards/peranekofactory/tone/rev2/config.h @@ -28,7 +28,7 @@ along with this program. If not, see . /* key matrix size */ #define MATRIX_ROWS 1 -#define MATRIX_COLS 10 +#define MATRIX_COLS 8 /* * Keyboard Matrix Assignments @@ -42,13 +42,8 @@ along with this program. If not, see . */ #define DIRECT_PINS { \ - { D4,C6,D7,E6,F6,F7,B1,B3 } \ + { D4, C6, D7, E6, F6, F7, B1, B3 } \ } - -/* -#define MATRIX_ROW_PINS { NO_PIN } -#define MATRIX_COL_PINS { D4,C6,D7,E6,F6,F7,B1,B3 } -*/ #define UNUSED_PINS /* COL2ROW, ROW2COL */