Browse Source

backlight

Jack Humbert 10 years ago
parent
commit
266ff2344e
3 changed files with 1156 additions and 1573 deletions
  1. 1 1
      keyboard/planck/Makefile
  2. 0 2
      keyboard/planck/matrix.c
  3. 1155 1570
      keyboard/planck/planck_pcb.hex

+ 1 - 1
keyboard/planck/Makefile

@@ -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

+ 0 - 2
keyboard/planck/matrix.c

@@ -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
+ 1155 - 1570
keyboard/planck/planck_pcb.hex