diff options
| author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-07-09 07:47:29 -0700 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-07-09 07:47:29 -0700 |
| commit | 5ef50256d85569cf404cc1b5aea534832bc89089 (patch) | |
| tree | ac3e1e280e28796072e1a99e9bf41235fe7ed780 /keyboards/al1/matrix.c | |
| parent | 56b5e9f23d2e363404fa68af4fd73f8dd21beea1 (diff) | |
| download | qmk_firmware-5ef50256d85569cf404cc1b5aea534832bc89089.tar.gz qmk_firmware-5ef50256d85569cf404cc1b5aea534832bc89089.zip | |
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
Diffstat (limited to 'keyboards/al1/matrix.c')
| -rw-r--r-- | keyboards/al1/matrix.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/al1/matrix.c b/keyboards/al1/matrix.c index f7ed7fbb0..9d51f64de 100644 --- a/keyboards/al1/matrix.c +++ b/keyboards/al1/matrix.c | |||
| @@ -28,7 +28,6 @@ inline uint8_t matrix_cols(void) { | |||
| 28 | return MATRIX_COLS; | 28 | return MATRIX_COLS; |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | |||
| 32 | void matrix_init(void) { | 31 | void matrix_init(void) { |
| 33 | // initialize row and col | 32 | // initialize row and col |
| 34 | unselect_cols(); | 33 | unselect_cols(); |
| @@ -104,7 +103,7 @@ uint8_t matrix_key_count(void) { | |||
| 104 | 103 | ||
| 105 | /* Row pin configuration | 104 | /* Row pin configuration |
| 106 | * | 105 | * |
| 107 | * row: 0 1 2 3 4 5 | 106 | * row: 0 1 2 3 4 5 |
| 108 | * pin: C7 B1 B2 C6 B4 B5 | 107 | * pin: C7 B1 B2 C6 B4 B5 |
| 109 | * | 108 | * |
| 110 | */ | 109 | */ |
| @@ -181,4 +180,4 @@ static void select_col(uint8_t col) { | |||
| 181 | else { | 180 | else { |
| 182 | PORTD &= ~(1<<PD7); | 181 | PORTD &= ~(1<<PD7); |
| 183 | } | 182 | } |
| 184 | } \ No newline at end of file | 183 | } |
