diff options
| -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 | { |
