From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- keyboards/mntre/config.h | 1 - keyboards/mntre/info.json | 1 + keyboards/mntre/rules.mk | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'keyboards/mntre') diff --git a/keyboards/mntre/config.h b/keyboards/mntre/config.h index 123d66fcdf..54a640366b 100644 --- a/keyboards/mntre/config.h +++ b/keyboards/mntre/config.h @@ -20,7 +20,6 @@ /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/mntre/info.json b/keyboards/mntre/info.json index dd26827624..36426c3cc1 100644 --- a/keyboards/mntre/info.json +++ b/keyboards/mntre/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.2" }, "backlight": { + "pin": "B7", "max_brightness": 84 }, "processor": "atmega32u4", diff --git a/keyboards/mntre/rules.mk b/keyboards/mntre/rules.mk index ce8ecc4a9c..a56f94b312 100644 --- a/keyboards/mntre/rules.mk +++ b/keyboards/mntre/rules.mk @@ -11,5 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output OLED_ENABLE = yes -BACKLIGHT_DRIVER = pwm - -- cgit v1.2.3