1
0
Fork 0

quantum separated

This commit is contained in:
Jack Humbert 2015-10-26 14:49:46 -04:00
parent ff8d8a50df
commit 46e7fb2d3c
26 changed files with 359 additions and 384 deletions

29
keyboard/planck/planck.c Normal file
View file

@ -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)();
}
};