Ver Fonte

fix compiling for backlight without led matrix

skullY há 6 anos atrás
pai
commit
84879f28a3
1 ficheiros alterados com 1 adições e 1 exclusões
  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)