1
0
Fork 0

Move USB_MAX_POWER_CONSUMPTION to data driven (#20648)

This commit is contained in:
Ryan 2023-05-01 17:37:12 +10:00 committed by GitHub
parent 12d42cedd2
commit 2944e93870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 90 additions and 226 deletions

View file

@ -4,12 +4,6 @@
#pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
#define USB_MAX_POWER_CONSUMPTION 100
#define RGB_MATRIX_LED_COUNT 12
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
#define RGB_MATRIX_DISABLE_KEYCODES

View file

@ -49,7 +49,8 @@
"usb": {
"device_version": "1.0.0",
"pid": "0xE6E3",
"vid": "0x574C"
"vid": "0x574C",
"max_power": 100
},
"encoder": {
"rotary": [