diff options
| author | Ryan <fauxpark@gmail.com> | 2023-05-27 12:27:44 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-27 12:27:44 +1000 |
| commit | 363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch) | |
| tree | 65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/avalanche | |
| parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (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.h | 1 | ||||
| -rw-r--r-- | keyboards/avalanche/v4/info.json | 3 |
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 @@ | |||
| 7 | # define RGBLED_NUM 64 | 7 | # define RGBLED_NUM 64 |
| 8 | # define RGBLED_SPLIT { 32, 32 } | 8 | # define RGBLED_SPLIT { 32, 32 } |
| 9 | # define RGBLIGHT_SPLIT | 9 | # define RGBLIGHT_SPLIT |
| 10 | # define RGBLIGHT_LIMIT_VAL 100 // LED Brightness, high power draw may exceed the USB limitations of 0.6A and cause a crash. | ||
| 11 | # define RGBLIGHT_HUE_STEP 10 | 10 | # define RGBLIGHT_HUE_STEP 10 |
| 12 | # define RGBLIGHT_SAT_STEP 17 | 11 | # define RGBLIGHT_SAT_STEP 17 |
| 13 | # define RGBLIGHT_VAL_STEP 17 | 12 | # 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 @@ | |||
| 24 | "ws2812": { | 24 | "ws2812": { |
| 25 | "pin": "D3" | 25 | "pin": "D3" |
| 26 | }, | 26 | }, |
| 27 | "rgblight": { | ||
| 28 | "max_brightness": 100 | ||
| 29 | }, | ||
| 27 | "processor": "atmega32u4", | 30 | "processor": "atmega32u4", |
| 28 | "bootloader": "caterina", | 31 | "bootloader": "caterina", |
| 29 | "layouts": { | 32 | "layouts": { |
