summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-09-14 23:55:26 -0400
committerJack Humbert <jack.humb@gmail.com>2015-09-14 23:55:26 -0400
commitf610c65f1094d70d2c69c045fde0336a2b692878 (patch)
tree8ec640565781d2c15307c30146f5512344aee45a
parent6ec03b22187fb3c16677c4c0583e66d6d6a5c4f1 (diff)
parentb9e42a87538644cd8f7a426d28be9b770e63d73b (diff)
unicode working, i think
-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 3ac20a55a4..328c21b1de 100644
--- a/keyboard/planck/Makefile
+++ b/keyboard/planck/Makefile
@@ -127,7 +127,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# MIDI_ENABLE = YES # MIDI controls
UNICODE_ENABLE = YES # MIDI controls
-BACKLIGHT_ENABLE = yes
ifdef MIDI_ENABLE
SRC += keymap_midi.c
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);