From a938c54512b85251c5dae3bccae835a919460e71 Mon Sep 17 00:00:00 2001 From: Dasky <32983009+daskygit@users.noreply.github.com> Date: Sun, 25 Jul 2021 03:33:30 +0100 Subject: [PATCH] dirty fix (#13695) --- keyboards/meira/featherble/config.h | 1 + keyboards/meira/matrix.c | 2 +- keyboards/meira/promicro/config.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/keyboards/meira/featherble/config.h b/keyboards/meira/featherble/config.h index dadc10d600..7abe2b1d62 100644 --- a/keyboards/meira/featherble/config.h +++ b/keyboards/meira/featherble/config.h @@ -33,6 +33,7 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F7, F6, F5, F4 } // Column pins to demux in LSB order #define MATRIX_COL_PINS { C7, B7, B6, C6, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } +#define MATRIX_COL_PINS_SCANNED { C7, B7, B6, C6 } #define LED_EN_PIN D2 #define UNUSED_PINS diff --git a/keyboards/meira/matrix.c b/keyboards/meira/matrix.c index c1bfb5868f..ae1ae5ce9d 100644 --- a/keyboards/meira/matrix.c +++ b/keyboards/meira/matrix.c @@ -62,7 +62,7 @@ along with this program. If not, see . static matrix_row_t matrix_debouncing[MATRIX_ROWS]; static const uint8_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; -static const uint8_t col_pins[4] = MATRIX_COL_PINS; +static const uint8_t col_pins[4] = MATRIX_COL_PINS_SCANNED; //static const uint8_t lrow_pins[MATRIX_ROWS] = LED_ROW_PINS; //static const uint8_t lcol_pins[4] = LED_COL_PINS; diff --git a/keyboards/meira/promicro/config.h b/keyboards/meira/promicro/config.h index be5fae9aa9..edd8a954f2 100644 --- a/keyboards/meira/promicro/config.h +++ b/keyboards/meira/promicro/config.h @@ -33,6 +33,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F7, F6, F5, F4 } // Column pins to demux in LSB order #define MATRIX_COL_PINS { B1, B3, B2, B6, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } +#define MATRIX_COL_PINS_SCANNED { B1, B3, B2, B6 } + #define LED_EN_PIN D2 #define UNUSED_PINS