diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-10-26 14:49:46 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-10-26 14:49:46 -0400 |
commit | 46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141 (patch) | |
tree | f0b00f664ecdaf83e30f27baf20780eb5d91c39a /keyboard/planck/planck.c | |
parent | ff8d8a50dfbb8502003a5181878c54a71b8c57d5 (diff) | |
download | firmware-46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141.tar.gz firmware-46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141.tar.bz2 firmware-46e7fb2d3ccd699c0a1b1fd9d02860b1f2a44141.zip |
quantum separated
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 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 |