summaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards/lighting.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lfkeyboards/lighting.c')
-rw-r--r--keyboards/lfkeyboards/lighting.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/lfkeyboards/lighting.c b/keyboards/lfkeyboards/lighting.c
index 42d247ae70..2a6eac929b 100644
--- a/keyboards/lfkeyboards/lighting.c
+++ b/keyboards/lfkeyboards/lighting.c
@@ -16,7 +16,9 @@
extern rgblight_config_t rgblight_config; // Declared in rgblight.c
-const uint8_t backlight_pwm_map[BACKLIGHT_LEVELS] = BACKLIGHT_PWM_MAP;
+#ifdef BACKLIGHT_ENABLE
+ const uint8_t backlight_pwm_map[BACKLIGHT_LEVELS] = BACKLIGHT_PWM_MAP;
+#endif
// RGB# to ISSI matrix, this is the same across all revisions
const uint8_t rgb_leds[][3][2] = {