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

@@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_LIMIT_VAL 160
#define WS2812_PWM_DRIVER PWMD1 // default: PWMD1
#define WS2812_PWM_CHANNEL 2 // default: 2

View File

@@ -12,6 +12,9 @@
"pin": "A9",
"driver": "pwm"
},
"rgblight": {
"max_brightness": 160
},
"matrix_pins": {
"cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
"rows": ["B15", "A8", "A3", "A2", "A1"]