]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
BL
authorJack Humbert <jack.humb@gmail.com>
Sat, 26 Sep 2015 04:58:17 +0000 (00:58 -0400)
committerJack Humbert <jack.humb@gmail.com>
Sat, 26 Sep 2015 04:58:17 +0000 (00:58 -0400)
keyboard/planck/matrix.c

index 8a021719ce11a75ef35db5f2e5ada51c9e611e3a..12a15854363c729fd0e14a99185436dfd4bcc964 100644 (file)
@@ -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);