summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quantum/quantum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 0e605d4cb..376578ade 100644
--- a/quantum/quantum.c
+++ b/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)