summaryrefslogtreecommitdiff
path: root/keyboards/dztech/endless80
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/dztech/endless80
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/dztech/endless80')
-rw-r--r--keyboards/dztech/endless80/config.h1
-rw-r--r--keyboards/dztech/endless80/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/dztech/endless80/config.h b/keyboards/dztech/endless80/config.h
index eb512c52de..d02f837169 100644
--- a/keyboards/dztech/endless80/config.h
+++ b/keyboards/dztech/endless80/config.h
@@ -31,4 +31,3 @@
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 10
#define RGBLIGHT_VAL_STEP 10
-#define RGBLIGHT_LIMIT_VAL 130 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
diff --git a/keyboards/dztech/endless80/info.json b/keyboards/dztech/endless80/info.json
index df23b681e8..9fb8bc22ed 100644
--- a/keyboards/dztech/endless80/info.json
+++ b/keyboards/dztech/endless80/info.json
@@ -20,6 +20,9 @@
"ws2812": {
"pin": "F7"
},
+ "rgblight": {
+ "max_brightness": 130
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_ansi_tsangan"],