aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboard/planck/Makefile1
-rw-r--r--keyboard/planck/matrix.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/keyboard/planck/Makefile b/keyboard/planck/Makefile
index ad0c82437..482c0cdb3 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -126,7 +126,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
126# NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA 126# NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
127BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality 127BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
128MIDI_ENABLE = YES # MIDI controls 128MIDI_ENABLE = YES # MIDI controls
129BACKLIGHT_ENABLE = yes
130 129
131ifdef MIDI_ENABLE 130ifdef MIDI_ENABLE
132 SRC += keymap_midi.c 131 SRC += keymap_midi.c
diff --git a/keyboard/planck/matrix.c b/keyboard/planck/matrix.c
index 8a021719c..d335a8fbe 100644
--- a/keyboard/planck/matrix.c
+++ b/keyboard/planck/matrix.c
@@ -65,7 +65,9 @@ void matrix_init(void)
65 MCUCR |= (1<<JTD); 65 MCUCR |= (1<<JTD);
66 MCUCR |= (1<<JTD); 66 MCUCR |= (1<<JTD);
67 67
68 #if BACKLIGHT_ENABLE == 'yes'
68 backlight_init_ports(); 69 backlight_init_ports();
70 #endif
69 71
70 // Turn status LED on 72 // Turn status LED on
71 DDRE |= (1<<6); 73 DDRE |= (1<<6);