From 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Mon, 26 Oct 2015 14:49:46 -0400 Subject: quantum separated --- keyboard/planck/planck.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 keyboard/planck/planck.c (limited to 'keyboard/planck/planck.c') diff --git a/keyboard/planck/planck.c b/keyboard/planck/planck.c new file mode 100644 index 000000000..9809a824c --- /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 -- cgit v1.2.3