From 36ce81df592ca8e9f9fed498e513437aa1cae54f Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Mar 2023 18:22:12 +1100 Subject: Move `WS2812_DRIVER` to data driven (#20248) --- keyboards/ymdk/ymd75/rev1/info.json | 3 +++ keyboards/ymdk/ymd75/rev1/rules.mk | 1 - keyboards/ymdk/ymd75/rev2/info.json | 3 +++ keyboards/ymdk/ymd75/rev2/rules.mk | 1 - 4 files changed, 6 insertions(+), 2 deletions(-) (limited to 'keyboards/ymdk/ymd75') diff --git a/keyboards/ymdk/ymd75/rev1/info.json b/keyboards/ymdk/ymd75/rev1/info.json index e1c728c19d..8462a87b4b 100644 --- a/keyboards/ymdk/ymd75/rev1/info.json +++ b/keyboards/ymdk/ymd75/rev1/info.json @@ -11,6 +11,9 @@ "pin": "D4", "levels": 12 }, + "ws2812": { + "driver": "i2c" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/ymdk/ymd75/rev1/rules.mk b/keyboards/ymdk/ymd75/rev1/rules.mk index 17cd0cd890..d9e34145c4 100644 --- a/keyboards/ymdk/ymd75/rev1/rules.mk +++ b/keyboards/ymdk/ymd75/rev1/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no COMMAND_ENABLE = yes BACKLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes -WS2812_DRIVER = i2c NKRO_ENABLE = no # Enable N-Key Rollover KEY_LOCK_ENABLE = yes diff --git a/keyboards/ymdk/ymd75/rev2/info.json b/keyboards/ymdk/ymd75/rev2/info.json index 8d71880689..25d3adc54b 100644 --- a/keyboards/ymdk/ymd75/rev2/info.json +++ b/keyboards/ymdk/ymd75/rev2/info.json @@ -11,6 +11,9 @@ "pin": "D4", "levels": 12 }, + "ws2812": { + "driver": "i2c" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/ymdk/ymd75/rev2/rules.mk b/keyboards/ymdk/ymd75/rev2/rules.mk index 17cd0cd890..d9e34145c4 100644 --- a/keyboards/ymdk/ymd75/rev2/rules.mk +++ b/keyboards/ymdk/ymd75/rev2/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no COMMAND_ENABLE = yes BACKLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes -WS2812_DRIVER = i2c NKRO_ENABLE = no # Enable N-Key Rollover KEY_LOCK_ENABLE = yes -- cgit v1.2.3