~ruther/qmk_firmware

0b2bc8955949e21e40f5dbc888d785dcd370ca07 — Joel Challis 3 years ago d13286f
Avoid MATRIX_*_PINS due to schema validation errors (#15123)

2 files changed, 3 insertions(+), 3 deletions(-)

M keyboards/matrix/abelx/config.h
M keyboards/matrix/abelx/matrix.c
M keyboards/matrix/abelx/config.h => keyboards/matrix/abelx/config.h +2 -2
@@ 34,7 34,7 @@
#define GET_PORT(pp) (((pp) >> 8) & 0xFF)
#define GET_PIN(pp) ((pp) & 0xFF)

#define MATRIX_ROW_PINS { \
#define CUSTOM_MATRIX_ROW_PINS { \
    DEF_PIN(TCA6424_PORT2, 7), \
    DEF_PIN(TCA6424_PORT2, 6), \
    DEF_PIN(TCA6424_PORT2, 0), \


@@ 42,7 42,7 @@
    DEF_PIN(TCA6424_PORT2, 4), \
    DEF_PIN(TCA6424_PORT2, 5) }

#define MATRIX_COL_PINS { \
#define CUSTOM_MATRIX_COL_PINS { \
    DEF_PIN(TCA6424_PORT2, 1), \
    DEF_PIN(TCA6424_PORT1, 7), \
    DEF_PIN(TCA6424_PORT1, 6), \

M keyboards/matrix/abelx/matrix.c => keyboards/matrix/abelx/matrix.c +1 -1
@@ 25,7 25,7 @@
#include "tca6424.h"
#include "abelx.h"

static const uint16_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;
static const uint16_t col_pins[MATRIX_COLS] = CUSTOM_MATRIX_COL_PINS;

void matrix_init_custom(void)
{