backlight
This commit is contained in:
parent
1da07810c7
commit
266ff2344e
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue