From 3f3d0551cd5f2ca0b72fc4b24d1d7955ffa8cb78 Mon Sep 17 00:00:00 2001 From: scott-t-wilson Date: Fri, 23 Feb 2018 13:16:10 -0500 Subject: Lfkeyboards updates (#2421) * Update smk65 fn layer, add iso * Added Fn layer to ISO keymap * Fix error when backlight is disabled but lighting isn't * Remove broke mini1800 iso map * Add keymaps * Add LFKPad * Add split delete to lfk78 * Typo * Custom keymap --- keyboards/lfkeyboards/lighting.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/lfkeyboards/lighting.c') diff --git a/keyboards/lfkeyboards/lighting.c b/keyboards/lfkeyboards/lighting.c index 42d247ae7..2a6eac929 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] = { -- cgit v1.2.3-24-g4f1b