Explorar o código

fix compiling for backlight without led matrix

skullY %!s(int64=6) %!d(string=hai) anos
pai
achega
84879f28a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      quantum/quantum.c

+ 1 - 1
quantum/quantum.c

@@ -1206,7 +1206,7 @@ static inline void set_pwm(uint16_t val) {
 	OCRxx = val;
 }
 
-#ifndef BACKLIGHT_CUSTOM_DRIVER || LED_MATRIX_ENABLE
+#ifndef BACKLIGHT_CUSTOM_DRIVER
 __attribute__ ((weak))
 void backlight_set(uint8_t level) {
   if (level > BACKLIGHT_LEVELS)