diff options
| author | Wraul <wraul@dbox.se> | 2013-05-30 20:24:39 +0200 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-06-22 17:23:36 +0900 |
| commit | 1eb8523e9506c752fb726208d8853a82f06e6659 (patch) | |
| tree | 999363ab141da73f3e59f2edf7d2778b298aef5f /common.mk | |
| parent | 9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06 (diff) | |
| download | qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.tar.gz qmk_firmware-1eb8523e9506c752fb726208d8853a82f06e6659.zip | |
Add support for backlight
Diffstat (limited to 'common.mk')
| -rw-r--r-- | common.mk | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -63,6 +63,11 @@ ifdef SLEEP_LED_ENABLE | |||
| 63 | OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | 63 | OPT_DEFS += -DNO_SUSPEND_POWER_DOWN |
| 64 | endif | 64 | endif |
| 65 | 65 | ||
| 66 | ifdef BACKLIGHT_ENABLE | ||
| 67 | SRC += $(COMMON_DIR)/backlight.c | ||
| 68 | OPT_DEFS += -DBACKLIGHT_ENABLE | ||
| 69 | endif | ||
| 70 | |||
| 66 | 71 | ||
| 67 | # Search Path | 72 | # Search Path |
| 68 | VPATH += $(TOP_DIR)/common | 73 | VPATH += $(TOP_DIR)/common |
