Move RGBLIGHT_LIMIT_VAL to data driven (#20974)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-05-27 12:27:44 +10:00
committed by GitHub
parent 8fdcba12e6
commit 363bfdbfda
679 changed files with 649 additions and 493 deletions

View File

@@ -30,7 +30,6 @@
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_DEFAULT_VAL 0 // start off
#define RGBLIGHT_LIMIT_VAL 225 // keep PCB under 500mA
#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */

View File

@@ -19,6 +19,9 @@
"ws2812": {
"pin": "B6"
},
"rgblight": {
"max_brightness": 225
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {