diff options
author | MechMerlin <[email protected]> | 2018-07-09 07:47:29 -0700 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2018-07-09 07:47:29 -0700 |
commit | 5ef50256d85569cf404cc1b5aea534832bc89089 (patch) | |
tree | ac3e1e280e28796072e1a99e9bf41235fe7ed780 /keyboards/al1/al1.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/al1.c')
-rw-r--r-- | keyboards/al1/al1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/al1/al1.c b/keyboards/al1/al1.c index ae24c981f2..62d3a63631 100644 --- a/keyboards/al1/al1.c +++ b/keyboards/al1/al1.c @@ -15,10 +15,12 @@ */ #include "al1.h" +__attribute__ ((weak)) void matrix_init_kb(void) { matrix_init_user(); } +__attribute__ ((weak)) void matrix_scan_kb(void) { matrix_scan_user(); } @@ -45,4 +47,4 @@ void led_set_kb(uint8_t usb_led) { else PORTD |= (1<<1); led_set_user(usb_led); -}
\ No newline at end of file +} |