diff options
Diffstat (limited to 'keyboard/planck/planck.c')
-rw-r--r-- | keyboard/planck/planck.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboard/planck/planck.c b/keyboard/planck/planck.c index 9809a824cb..b62862af04 100644 --- a/keyboard/planck/planck.c +++ b/keyboard/planck/planck.c @@ -1,14 +1,16 @@ #include "planck.h" +__attribute__ ((weak)) void * matrix_init_user(void) { }; +__attribute__ ((weak)) void * matrix_scan_user(void) { }; -void *matrix_init_kb(void) { +void * matrix_init_kb(void) { #ifdef BACKLIGHT_ENABLE backlight_init_ports(); #endif @@ -22,7 +24,7 @@ void *matrix_init_kb(void) { } }; -void *matrix_scan_kb(void) { +void * matrix_scan_kb(void) { if (matrix_scan_user) { (*matrix_scan_user)(); } |