]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboard/planck/planck.c
Pull request 190 resolution with 'qmk/master' for merge
[qmk_firmware.git] / keyboard / planck / planck.c
1 #include "planck.h"
2
3 __attribute__ ((weak))
4 void matrix_init_user(void) {
5
6 }
7
8 __attribute__ ((weak))
9 void matrix_scan_user(void) {
10
11 }
12
13 void matrix_init_kb(void) {
14         #ifdef BACKLIGHT_ENABLE
15         backlight_init_ports();
16         #endif
17
18         #ifdef RGBLIGHT_ENABLE
19                 rgblight_init();
20         #endif
21
22
23     // Turn status LED on
24     DDRE |= (1<<6);
25     PORTE |= (1<<6);
26
27         matrix_init_user();
28 }
29
30 void matrix_scan_kb(void) {
31         matrix_scan_user();
32 }