summaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-10-29 11:16:19 +0100
committerGitHub <noreply@github.com>2021-10-29 11:16:19 +0100
commit55fb468d7453eb31bc1793772938e2d28881fcaa (patch)
tree071269b83b618ca256ac5421b3bcddfde158b349 /common_features.mk
parent0f9261424097863d23b6f4835dd3f374c6776ec7 (diff)
More platform/protocol alignment (#14976)
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 1d7e955cdf..0d6b86b1ef 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -326,6 +326,13 @@ ifneq ($(strip $(VARIABLE_TRACE)),no)
endif
endif
+ifeq ($(strip $(SLEEP_LED_ENABLE)), yes)
+ SRC += $(PLATFORM_COMMON_DIR)/sleep_led.c
+ OPT_DEFS += -DSLEEP_LED_ENABLE
+
+ NO_SUSPEND_POWER_DOWN := yes
+endif
+
VALID_BACKLIGHT_TYPES := pwm timer software custom
BACKLIGHT_ENABLE ?= no