diff options
Diffstat (limited to 'keyboards/nek_type_a')
-rw-r--r-- | keyboards/nek_type_a/config.h | 4 | ||||
-rw-r--r-- | keyboards/nek_type_a/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/nek_type_a/rules.mk | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/nek_type_a/config.h b/keyboards/nek_type_a/config.h index 48999c64d4..701a75ebba 100644 --- a/keyboards/nek_type_a/config.h +++ b/keyboards/nek_type_a/config.h @@ -32,8 +32,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..a59598a503 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 @@ -236,7 +236,7 @@ void matrix_print(void) print_matrix_header(); for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - phex(row); print(": "); + print_hex8(row); print(": "); print_matrix_row(row); print("\n"); } diff --git a/keyboards/nek_type_a/rules.mk b/keyboards/nek_type_a/rules.mk index e46ea2b8a3..5ee6b11bc1 100644 --- a/keyboards/nek_type_a/rules.mk +++ b/keyboards/nek_type_a/rules.mk @@ -29,7 +29,6 @@ MIDI_ENABLE = no # MIDI support UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID AUDIO_ENABLE = no # Audio output on port C6 -FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches CUSTOM_MATRIX = yes DEBUG_ENABLE = yes BLUETOOTH = AdafruitBLE |