backlight

This commit is contained in:
Jack Humbert 2015-09-25 23:50:17 -04:00
parent 1da07810c7
commit 266ff2344e
3 changed files with 1 additions and 3 deletions

View File

@ -124,7 +124,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
# NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA # NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# MIDI_ENABLE = YES # MIDI controls MIDI_ENABLE = YES # MIDI controls
# UNICODE_ENABLE = YES # Unicode # UNICODE_ENABLE = YES # Unicode
ifdef MIDI_ENABLE ifdef MIDI_ENABLE

View File

@ -65,9 +65,7 @@ void matrix_init(void)
MCUCR |= (1<<JTD); MCUCR |= (1<<JTD);
MCUCR |= (1<<JTD); MCUCR |= (1<<JTD);
#if BACKLIGHT_ENABLE == 'yes'
backlight_init_ports(); backlight_init_ports();
#endif
// Turn status LED on // Turn status LED on
DDRE |= (1<<6); DDRE |= (1<<6);

Binary file not shown.