From 35a81f5b8b081e1607a7c04489b01f551c3213cc Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Mon, 26 Oct 2015 16:32:37 -0400 Subject: added ergodox --- keyboard/planck/planck.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'keyboard/planck/planck.c') diff --git a/keyboard/planck/planck.c b/keyboard/planck/planck.c index 9809a824c..b62862af0 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)(); } -- cgit v1.2.3