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
99 changed files with 90 additions and 226 deletions

View File

@@ -30,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define USB_MAX_POWER_CONSUMPTION 100

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4B50",
"pid": "0x0044",
"device_version": "2.0.0"
"device_version": "2.0.0",
"max_power": 100
},
"matrix_pins": {
"cols": ["A1", "A0", "A2", "A3"],