Move RGBLIGHT_LIMIT_VAL to data driven (#20974)

Co-authored-by: Nick Brassel <[email protected]>
This commit is contained in:
RyanandNick Brassel authored and GitHub committed 2023-05-27 12:27:44 +10:00
1 parent 8fdcba12e6
commit 363bfdbfda
679 files changed
+649 -493

No files matched your search

-1
View File
@@ -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.
+3
View File
@@ -20,6 +20,9 @@
"ws2812": {
"pin": "F7"
},
"rgblight": {
"max_brightness": 130
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["tkl_ansi", "tkl_ansi_tsangan"],