summaryrefslogtreecommitdiff
path: root/keyboards/kinesis/kint2pp
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-01 17:37:12 +1000
committerGitHub <noreply@github.com>2023-05-01 17:37:12 +1000
commit2944e938703e2049bb6262a0ab31e701d27e8ab3 (patch)
treea73caa75fafe8b7926e18886d603c032d246fcac /keyboards/kinesis/kint2pp
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/kinesis/kint2pp')
-rw-r--r--keyboards/kinesis/kint2pp/config.h5
-rw-r--r--keyboards/kinesis/kint2pp/info.json3
2 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/kinesis/kint2pp/config.h b/keyboards/kinesis/kint2pp/config.h
deleted file mode 100644
index b81985f1ef..0000000000
--- a/keyboards/kinesis/kint2pp/config.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-// The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as
-// per https://www.pjrc.com/teensy/low_power.html
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/kinesis/kint2pp/info.json b/keyboards/kinesis/kint2pp/info.json
index b2ddfb80b0..74d96d59e0 100644
--- a/keyboards/kinesis/kint2pp/info.json
+++ b/keyboards/kinesis/kint2pp/info.json
@@ -4,7 +4,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x6060",
- "device_version": "0.0.2"
+ "device_version": "0.0.2",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["E7", "F0", "F7", "B1", "B3", "B0", "D5"],