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 a4991b05b0..91e9154f45 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 a121bbc770..a75f13b5e8 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 a932b5b2a7..078fa357eb 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 dd1ad5171f..46185a639c 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 \