diff options
| author | Joel Challis <git@zvecr.com> | 2021-11-11 19:02:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-12 06:02:00 +1100 |
| commit | 0b2bc8955949e21e40f5dbc888d785dcd370ca07 (patch) | |
| tree | bb0d3b8a681d7021fb2292ecc1972ad508fa0bc2 | |
| parent | d13286fd29b2dff2a970237ca59def5b0cd2825e (diff) | |
| download | qmk_firmware-0b2bc8955949e21e40f5dbc888d785dcd370ca07.tar.gz qmk_firmware-0b2bc8955949e21e40f5dbc888d785dcd370ca07.zip | |
Avoid MATRIX_*_PINS due to schema validation errors (#15123)
| -rw-r--r-- | keyboards/matrix/abelx/config.h | 4 | ||||
| -rw-r--r-- | keyboards/matrix/abelx/matrix.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/matrix/abelx/config.h b/keyboards/matrix/abelx/config.h index 145bb3099..d3c6a569b 100644 --- a/keyboards/matrix/abelx/config.h +++ b/keyboards/matrix/abelx/config.h | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | #define GET_PORT(pp) (((pp) >> 8) & 0xFF) | 34 | #define GET_PORT(pp) (((pp) >> 8) & 0xFF) |
| 35 | #define GET_PIN(pp) ((pp) & 0xFF) | 35 | #define GET_PIN(pp) ((pp) & 0xFF) |
| 36 | 36 | ||
| 37 | #define MATRIX_ROW_PINS { \ | 37 | #define CUSTOM_MATRIX_ROW_PINS { \ |
| 38 | DEF_PIN(TCA6424_PORT2, 7), \ | 38 | DEF_PIN(TCA6424_PORT2, 7), \ |
| 39 | DEF_PIN(TCA6424_PORT2, 6), \ | 39 | DEF_PIN(TCA6424_PORT2, 6), \ |
| 40 | DEF_PIN(TCA6424_PORT2, 0), \ | 40 | DEF_PIN(TCA6424_PORT2, 0), \ |
| @@ -42,7 +42,7 @@ | |||
| 42 | DEF_PIN(TCA6424_PORT2, 4), \ | 42 | DEF_PIN(TCA6424_PORT2, 4), \ |
| 43 | DEF_PIN(TCA6424_PORT2, 5) } | 43 | DEF_PIN(TCA6424_PORT2, 5) } |
| 44 | 44 | ||
| 45 | #define MATRIX_COL_PINS { \ | 45 | #define CUSTOM_MATRIX_COL_PINS { \ |
| 46 | DEF_PIN(TCA6424_PORT2, 1), \ | 46 | DEF_PIN(TCA6424_PORT2, 1), \ |
| 47 | DEF_PIN(TCA6424_PORT1, 7), \ | 47 | DEF_PIN(TCA6424_PORT1, 7), \ |
| 48 | DEF_PIN(TCA6424_PORT1, 6), \ | 48 | DEF_PIN(TCA6424_PORT1, 6), \ |
diff --git a/keyboards/matrix/abelx/matrix.c b/keyboards/matrix/abelx/matrix.c index 56129bd0b..d8d87b7d8 100644 --- a/keyboards/matrix/abelx/matrix.c +++ b/keyboards/matrix/abelx/matrix.c | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | #include "tca6424.h" | 25 | #include "tca6424.h" |
| 26 | #include "abelx.h" | 26 | #include "abelx.h" |
| 27 | 27 | ||
| 28 | static const uint16_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS; | 28 | static const uint16_t col_pins[MATRIX_COLS] = CUSTOM_MATRIX_COL_PINS; |
| 29 | 29 | ||
| 30 | void matrix_init_custom(void) | 30 | void matrix_init_custom(void) |
| 31 | { | 31 | { |
