summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/planck.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-01-24 21:31:08 -0500
committerJack Humbert <jack.humb@gmail.com>2016-01-24 21:31:08 -0500
commit99c72d0d9b5baec52f801887ee595e623aaf0b3f (patch)
tree60aa81d4ecd80f487eb60b2dc53f4abc07af8e52 /keyboard/planck/planck.c
parentfd72a46c139c0450299e6e4ebbf4ffba531c9e2d (diff)
parentf277079dfa831d44456f00f307e26cf79d36c03d (diff)
Merge pull request #106 from yangliu/planck-rgb
RGB Underglow with 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 b62862af04..63ca54761c 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
+};