Explorar o código

unicode working, i think

Jack Humbert %!s(int64=10) %!d(string=hai) anos
pai
achega
f610c65f10
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 0 1
      keyboard/planck/Makefile
  2. 2 0
      keyboard/planck/matrix.c

+ 0 - 1
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

+ 2 - 0
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);