summaryrefslogtreecommitdiffstats
path: root/keyboards/mlego
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-27 12:27:44 +1000
committerGitHub <noreply@github.com>2023-05-27 12:27:44 +1000
commit363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch)
tree65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/mlego
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mlego')
-rw-r--r--keyboards/mlego/m60_split/rev1/config.h1
-rw-r--r--keyboards/mlego/m60_split/rev1/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h
index 88a208b8f4..f6f86beed1 100644
--- a/keyboards/mlego/m60_split/rev1/config.h
+++ b/keyboards/mlego/m60_split/rev1/config.h
@@ -27,7 +27,6 @@
#define RGBLIGHT_SPLIT
#define RGBLIGHT_LAYERS
-#define RGBLIGHT_LIMIT_VAL 128
#define RGBLIGHT_DEFAULT_HUE 213
#define RGBLED_NUM 16
diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json
index d316d64105..6fe572fcf1 100644
--- a/keyboards/mlego/m60_split/rev1/info.json
+++ b/keyboards/mlego/m60_split/rev1/info.json
@@ -21,6 +21,9 @@
"ws2812": {
"pin": "B15"
},
+ "rgblight": {
+ "max_brightness": 128
+ },
"split": {
"bootmagic": {
"matrix": [5, 0]