summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/matrix.c')
-rw-r--r--keyboard/planck/matrix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboard/planck/matrix.c b/keyboard/planck/matrix.c
index 8a021719ce..d335a8fbe1 100644
--- a/keyboard/planck/matrix.c
+++ b/keyboard/planck/matrix.c
@@ -65,7 +65,9 @@ void matrix_init(void)
MCUCR |= (1<<JTD);
MCUCR |= (1<<JTD);
+ #if BACKLIGHT_ENABLE == 'yes'
backlight_init_ports();
+ #endif
// Turn status LED on
DDRE |= (1<<6);