1
0
Fork 0

backlight

This commit is contained in:
Jack Humbert 2015-09-25 23:50:17 -04:00
parent 1da07810c7
commit 266ff2344e
3 changed files with 1156 additions and 1573 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
# NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# MIDI_ENABLE = YES # MIDI controls
MIDI_ENABLE = YES # MIDI controls
# UNICODE_ENABLE = YES # Unicode
ifdef MIDI_ENABLE

View File

@ -65,9 +65,7 @@ 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);

File diff suppressed because it is too large Load Diff