diff --git a/common.mk b/common.mk index 0930406d..e5a64933 100644 --- a/common.mk +++ b/common.mk @@ -61,6 +61,9 @@ endif ifdef SOFTPWM_LED_ENABLE SRC += $(COMMON_DIR)/softpwm_led.c OPT_DEFS += -DSOFTPWM_LED_ENABLE +ifdef FADING_LED_ENABLE + OPT_DEFS += -DFADING_LED_ENABLE +endif ifdef BREATHING_LED_ENABLE OPT_DEFS += -DBREATHING_LED_ENABLE endif diff --git a/keyboard/gh60/Makefile b/keyboard/gh60/Makefile index 822490ae..5d00526d 100644 --- a/keyboard/gh60/Makefile +++ b/keyboard/gh60/Makefile @@ -140,6 +140,7 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom #KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight +FADING_LED_ENABLE = yes # Enable fading backlight BREATHING_LED_ENABLE = yes # Enable breathing backlight LEDMAP_ENABLE = yes # Enable LED mapping LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom