1
0

Add build option FADING_LED_ENABLE

This commit is contained in:
Kai Ryu 2014-08-25 16:29:09 +09:00
parent 5ea92acdf7
commit 38e17a8704
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,9 @@ endif
ifdef SOFTPWM_LED_ENABLE ifdef SOFTPWM_LED_ENABLE
SRC += $(COMMON_DIR)/softpwm_led.c SRC += $(COMMON_DIR)/softpwm_led.c
OPT_DEFS += -DSOFTPWM_LED_ENABLE OPT_DEFS += -DSOFTPWM_LED_ENABLE
ifdef FADING_LED_ENABLE
OPT_DEFS += -DFADING_LED_ENABLE
endif
ifdef BREATHING_LED_ENABLE ifdef BREATHING_LED_ENABLE
OPT_DEFS += -DBREATHING_LED_ENABLE OPT_DEFS += -DBREATHING_LED_ENABLE
endif endif

View File

@ -140,6 +140,7 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor #KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight
FADING_LED_ENABLE = yes # Enable fading backlight
BREATHING_LED_ENABLE = yes # Enable breathing backlight BREATHING_LED_ENABLE = yes # Enable breathing backlight
LEDMAP_ENABLE = yes # Enable LED mapping LEDMAP_ENABLE = yes # Enable LED mapping
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom