From 368efb5d2b834d995ba24cd23349327bab02918b Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 27 Jul 2021 01:17:58 +0100 Subject: [PATCH] Remove legacy BACKLIGHT_CUSTOM_DRIVER option (#13731) --- common_features.mk | 5 ----- keyboards/jj40/keymaps/oscillope/rules.mk | 3 --- keyboards/meira/rules.mk | 2 +- show_options.mk | 2 +- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/common_features.mk b/common_features.mk index a4991b05b02036440f990044c7a8716a96443dc4..91e9154f45741b28b6e92f404e20056ea8dfc6b4 100644 --- a/common_features.mk +++ b/common_features.mk @@ -363,11 +363,6 @@ ifeq ($(strip $(LCD_ENABLE)), yes) CIE1931_CURVE := yes endif -# backward compat -ifeq ($(strip $(BACKLIGHT_CUSTOM_DRIVER)), yes) - BACKLIGHT_DRIVER := custom -endif - VALID_BACKLIGHT_TYPES := pwm timer software custom BACKLIGHT_ENABLE ?= no diff --git a/keyboards/jj40/keymaps/oscillope/rules.mk b/keyboards/jj40/keymaps/oscillope/rules.mk index a121bbc770ea6a90cb1ad7898b9fdfaab36cd282..a75f13b5e82f9bc0050a2245acbff26658fa2373 100644 --- a/keyboards/jj40/keymaps/oscillope/rules.mk +++ b/keyboards/jj40/keymaps/oscillope/rules.mk @@ -6,9 +6,6 @@ CONSOLE_ENABLE = no COMMAND_ENABLE = yes BACKLIGHT_ENABLE = no -BACKLIGHT_CUSTOM_DRIVER = no - RGBLIGHT_ENABLE = no -RGBLIGHT_CUSTOM_DRIVER = no KEY_LOCK_ENABLE = yes diff --git a/keyboards/meira/rules.mk b/keyboards/meira/rules.mk index a932b5b2a7ba8608e7f29e02b91e38b021d49aab..078fa357eb6350a891293ac1240865092a62b36f 100644 --- a/keyboards/meira/rules.mk +++ b/keyboards/meira/rules.mk @@ -28,7 +28,7 @@ UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID AUDIO_ENABLE = no # Audio output on port C6 RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -BACKLIGHT_CUSTOM_DRIVER = yes +BACKLIGHT_DRIVER = custom BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Miera ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled diff --git a/show_options.mk b/show_options.mk index dd1ad5171f96b7087bc675648f63920311557569..46185a639c4248b479c890ca96a7d383365c205c 100644 --- a/show_options.mk +++ b/show_options.mk @@ -16,7 +16,7 @@ BUILD_OPTION_NAMES = \ HARDWARE_OPTION_NAMES = \ SLEEP_LED_ENABLE \ BACKLIGHT_ENABLE \ - BACKLIGHT_CUSTOM_DRIVER \ + BACKLIGHT_DRIVER \ RGBLIGHT_ENABLE \ RGBLIGHT_CUSTOM_DRIVER \ RGB_MATRIX_ENABLE \