summaryrefslogtreecommitdiff
path: root/keyboards/ymdk/ymd21
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-18 14:39:07 +1000
committerGitHub <noreply@github.com>2023-06-18 14:39:07 +1000
commitb1783db4eacacaf8181cfbce13146db1941486ba (patch)
treed464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/ymdk/ymd21
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/ymdk/ymd21')
-rw-r--r--keyboards/ymdk/ymd21/v2/config.h1
-rw-r--r--keyboards/ymdk/ymd21/v2/info.json1
2 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ymdk/ymd21/v2/config.h b/keyboards/ymdk/ymd21/v2/config.h
index 8adc76dd6a..6936d591e2 100644
--- a/keyboards/ymdk/ymd21/v2/config.h
+++ b/keyboards/ymdk/ymd21/v2/config.h
@@ -17,7 +17,6 @@
#pragma once
#if defined(RGBLIGHT_ENABLE)
- #define RGBLED_NUM 8
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/ymdk/ymd21/v2/info.json b/keyboards/ymdk/ymd21/v2/info.json
index 764bd9f002..5bd3f23bf5 100644
--- a/keyboards/ymdk/ymd21/v2/info.json
+++ b/keyboards/ymdk/ymd21/v2/info.json
@@ -21,6 +21,7 @@
"pin": "E2"
},
"rgblight": {
+ "led_count": 8,
"max_brightness": 180,
"sleep": true
},