diff options
Diffstat (limited to 'keyboard/planck/planck.c')
-rw-r--r-- | keyboard/planck/planck.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboard/planck/planck.c b/keyboard/planck/planck.c new file mode 100644 index 0000000000..9809a824cb --- /dev/null +++ b/keyboard/planck/planck.c @@ -0,0 +1,29 @@ +#include "planck.h" + +void * matrix_init_user(void) { + +}; + +void * matrix_scan_user(void) { + +}; + +void *matrix_init_kb(void) { + #ifdef BACKLIGHT_ENABLE + backlight_init_ports(); + #endif + + // Turn status LED on + DDRE |= (1<<6); + PORTE |= (1<<6); + + if (matrix_init_user) { + (*matrix_init_user)(); + } +}; + +void *matrix_scan_kb(void) { + if (matrix_scan_user) { + (*matrix_scan_user)(); + } +};
\ No newline at end of file |