From 2944e938703e2049bb6262a0ab31e701d27e8ab3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 1 May 2023 17:37:12 +1000 Subject: Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648) --- keyboards/torn/config.h | 2 -- keyboards/torn/info.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'keyboards/torn') diff --git a/keyboards/torn/config.h b/keyboards/torn/config.h index 0b56ef812d..6025d55b1c 100644 --- a/keyboards/torn/config.h +++ b/keyboards/torn/config.h @@ -45,6 +45,4 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define USB_MAX_POWER_CONSUMPTION 100 - #define OLED_TIMEOUT 60000 diff --git a/keyboards/torn/info.json b/keyboards/torn/info.json index c5294d14af..c1b83188f0 100644 --- a/keyboards/torn/info.json +++ b/keyboards/torn/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x7274", "pid": "0x0001", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "encoder": { "rotary": [ -- cgit v1.2.3