diff options
author | Zach White <skullydazed@gmail.com> | 2021-01-08 00:01:20 -0800 |
---|---|---|
committer | Zach White <skullydazed@drpepper.org> | 2021-01-08 08:40:23 -0800 |
commit | 7e78699e79e228b447f92d5ac187572926ca4636 (patch) | |
tree | 0c2ea26924e528e7bff6ed545c951062794bf0c5 /keyboards | |
parent | 30331b383f9ef4620e47aa07e4f9af7fae9d30b3 (diff) |
use a custom name for custom pins
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/nek_type_a/config.h | 4 | ||||
-rw-r--r-- | keyboards/nek_type_a/matrix.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/nek_type_a/config.h b/keyboards/nek_type_a/config.h index 98a954dd12..7cdfc1e9be 100644 --- a/keyboards/nek_type_a/config.h +++ b/keyboards/nek_type_a/config.h @@ -33,8 +33,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* left columns are all onboard, right columns all on expander */ #define COL_EXPANDED { false, false, false, false, false, false, false, true, true, true, true, true, true, true, true, true, true, true} -#define MATRIX_COL_PINS { C6, D7, B5, B6, B7, D6, D3, GPA0, GPA1, GPA2, GPA3, GPA4, GPA5, GPA6, GPA7, GPB0, GPB1, GPB2 } -#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } +#define NEK_MATRIX_COL_PINS { C6, D7, B5, B6, B7, D6, D3, GPA0, GPA1, GPA2, GPA3, GPA4, GPA5, GPA6, GPA7, GPB0, GPB1, GPB2 } +#define NEK_MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/nek_type_a/matrix.c b/keyboards/nek_type_a/matrix.c index a3c0155e1a..1da5b44a3c 100644 --- a/keyboards/nek_type_a/matrix.c +++ b/keyboards/nek_type_a/matrix.c @@ -69,8 +69,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif #if (DIODE_DIRECTION == ROW2COL) || (DIODE_DIRECTION == COL2ROW) -static const uint8_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; -static const uint8_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS; +static const uint8_t row_pins[MATRIX_ROWS] = NEK_MATRIX_ROW_PINS; +static const uint8_t col_pins[MATRIX_COLS] = NEK_MATRIX_COL_PINS; static const bool col_expanded[MATRIX_COLS] = COL_EXPANDED; #endif |