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/kinesis/kint41/config.h | 4 ---- keyboards/kinesis/kint41/info.json | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'keyboards/kinesis/kint41') diff --git a/keyboards/kinesis/kint41/config.h b/keyboards/kinesis/kint41/config.h index 74d1a8a78f..e620abd09e 100644 --- a/keyboards/kinesis/kint41/config.h +++ b/keyboards/kinesis/kint41/config.h @@ -16,10 +16,6 @@ #pragma once -// The Teensy 4.1 consumes about 100 mA of current at its full speed of 600 MHz -// as per https://www.pjrc.com/store/teensy41.html -#define USB_MAX_POWER_CONSUMPTION 100 - /* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the * AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock, * i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information. diff --git a/keyboards/kinesis/kint41/info.json b/keyboards/kinesis/kint41/info.json index 0a6424641a..1901ed1d3b 100644 --- a/keyboards/kinesis/kint41/info.json +++ b/keyboards/kinesis/kint41/info.json @@ -4,7 +4,8 @@ "usb": { "vid": "0x1209", "pid": "0x345C", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "matrix_pins": { "cols": ["LINE_PIN18", "LINE_PIN14", "LINE_PIN15", "LINE_PIN20", "LINE_PIN22", "LINE_PIN19", "LINE_PIN6"], -- cgit v1.2.3