summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-11 19:02:00 +0000
committerGitHub <noreply@github.com>2021-11-12 06:02:00 +1100
commit0b2bc8955949e21e40f5dbc888d785dcd370ca07 (patch)
treebb0d3b8a681d7021fb2292ecc1972ad508fa0bc2 /keyboards
parentd13286fd29b2dff2a970237ca59def5b0cd2825e (diff)
Avoid MATRIX_*_PINS due to schema validation errors (#15123)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/matrix/abelx/config.h4
-rw-r--r--keyboards/matrix/abelx/matrix.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/matrix/abelx/config.h b/keyboards/matrix/abelx/config.h
index 145bb30993..d3c6a569b1 100644
--- a/keyboards/matrix/abelx/config.h
+++ b/keyboards/matrix/abelx/config.h
@@ -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), \
diff --git a/keyboards/matrix/abelx/matrix.c b/keyboards/matrix/abelx/matrix.c
index 56129bd0b5..d8d87b7d89 100644
--- a/keyboards/matrix/abelx/matrix.c
+++ b/keyboards/matrix/abelx/matrix.c
@@ -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)
{