diff options
author | Ryan <[email protected]> | 2023-05-27 12:27:44 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-27 12:27:44 +1000 |
commit | 363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch) | |
tree | 65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/dztech/endless80 | |
parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) | |
download | qmk_firmware-363bfdbfda5ea9fa996390920a9e8982535b76c8.tar.gz qmk_firmware-363bfdbfda5ea9fa996390920a9e8982535b76c8.zip |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/dztech/endless80')
-rw-r--r-- | keyboards/dztech/endless80/config.h | 1 | ||||
-rw-r--r-- | keyboards/dztech/endless80/info.json | 3 |
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"], |