summaryrefslogtreecommitdiff
path: root/keyboards/avalanche
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/avalanche
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/avalanche')
-rw-r--r--keyboards/avalanche/v4/config.h1
-rw-r--r--keyboards/avalanche/v4/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h
index 9279289ddf..51b7cb7537 100644
--- a/keyboards/avalanche/v4/config.h
+++ b/keyboards/avalanche/v4/config.h
@@ -7,7 +7,6 @@
# define RGBLED_NUM 64
# define RGBLED_SPLIT { 32, 32 }
# define RGBLIGHT_SPLIT
-# define RGBLIGHT_LIMIT_VAL 100 // LED Brightness, high power draw may exceed the USB limitations of 0.6A and cause a crash.
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/avalanche/v4/info.json b/keyboards/avalanche/v4/info.json
index 85ff0c16fe..235bb12220 100644
--- a/keyboards/avalanche/v4/info.json
+++ b/keyboards/avalanche/v4/info.json
@@ -24,6 +24,9 @@
"ws2812": {
"pin": "D3"
},
+ "rgblight": {
+ "max_brightness": 100
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {