From 5ef50256d85569cf404cc1b5aea534832bc89089 Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Mon, 9 Jul 2018 07:47:29 -0700 Subject: AL1 Unable to Compile on Configurator (#3339) * use QMK_KEYBOARD_H * init_kb and scan_kb need to be in matrix.c to make use of the matrix.h include * Make the routines weak as suggested by Drashna --- keyboards/al1/matrix.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'keyboards/al1/matrix.c') diff --git a/keyboards/al1/matrix.c b/keyboards/al1/matrix.c index f7ed7fbb05..9d51f64dee 100644 --- a/keyboards/al1/matrix.c +++ b/keyboards/al1/matrix.c @@ -28,7 +28,6 @@ inline uint8_t matrix_cols(void) { return MATRIX_COLS; } - void matrix_init(void) { // initialize row and col unselect_cols(); @@ -104,7 +103,7 @@ uint8_t matrix_key_count(void) { /* Row pin configuration * - * row: 0 1 2 3 4 5 + * row: 0 1 2 3 4 5 * pin: C7 B1 B2 C6 B4 B5 * */ @@ -181,4 +180,4 @@ static void select_col(uint8_t col) { else { PORTD &= ~(1<