summaryrefslogtreecommitdiff
path: root/keyboard/planck/planck.c
diff options
context:
space:
mode:
authorYang Liu2016-01-24 13:14:50 -0800
committerYang Liu2016-01-24 13:14:50 -0800
commit0a40654b82520849fcc587e8fb76c823378649a6 (patch)
tree2f2e067afe8dab65b110f09adf8611a89b6cbcae /keyboard/planck/planck.c
parentfd72a46c139c0450299e6e4ebbf4ffba531c9e2d (diff)
Add support for WS2812 LEDs
Diffstat (limited to 'keyboard/planck/planck.c')
-rw-r--r--keyboard/planck/planck.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboard/planck/planck.c b/keyboard/planck/planck.c
index b62862af0..63ca54761 100644
--- a/keyboard/planck/planck.c
+++ b/keyboard/planck/planck.c
@@ -15,6 +15,11 @@ void * matrix_init_kb(void) {
backlight_init_ports();
#endif
+ #ifdef RGBLIGHT_ENABLE
+ rgblight_init();
+ #endif
+
+
// Turn status LED on
DDRE |= (1<<6);
PORTE |= (1<<6);
@@ -28,4 +33,4 @@ void * matrix_scan_kb(void) {
if (matrix_scan_user) {
(*matrix_scan_user)();
}
-}; \ No newline at end of file
+};