Jack Humbert há 9 anos atrás
pai
commit
40148c430e
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      keyboard/planck/matrix.c

+ 2 - 0
keyboard/planck/matrix.c

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