summaryrefslogtreecommitdiffstats
path: root/builddefs/common_features.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-10-22 20:39:39 +0100
committerGitHub <noreply@github.com>2022-10-22 12:39:39 -0700
commit575db6949abb76d7f75ba69311a9492d7b79108a (patch)
tree014f45e05547066868f774a7e6447b3784bd0b5f /builddefs/common_features.mk
parent416c54297efe6345cdf950c537ca5c2f611fe937 (diff)
Generalise CTPC logic from common_features (#18803)
Diffstat (limited to 'builddefs/common_features.mk')
-rw-r--r--builddefs/common_features.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 8814d8b0f9..9939e0e5df 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -539,11 +539,7 @@ endif
VALID_BACKLIGHT_TYPES := pwm timer software custom
BACKLIGHT_ENABLE ?= no
-ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
- BACKLIGHT_DRIVER ?= software
-else
- BACKLIGHT_DRIVER ?= pwm
-endif
+BACKLIGHT_DRIVER ?= pwm
ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
ifeq ($(filter $(BACKLIGHT_DRIVER),$(VALID_BACKLIGHT_TYPES)),)
$(call CATASTROPHIC_ERROR,Invalid BACKLIGHT_DRIVER,BACKLIGHT_DRIVER="$(BACKLIGHT_DRIVER)" is not a valid backlight type)