summaryrefslogtreecommitdiff
path: root/keyboards/uranuma
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/uranuma
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/uranuma')
-rw-r--r--keyboards/uranuma/config.h4
-rw-r--r--keyboards/uranuma/info.json3
2 files changed, 2 insertions, 5 deletions
diff --git a/keyboards/uranuma/config.h b/keyboards/uranuma/config.h
index 39bb20f2a8..7bc78f68d6 100644
--- a/keyboards/uranuma/config.h
+++ b/keyboards/uranuma/config.h
@@ -1,9 +1,5 @@
#pragma once
-// fix iPhone and iPad power adapter issue
-// iOS device need lessthan 100
-#define USB_MAX_POWER_CONSUMPTION 100
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/uranuma/info.json b/keyboards/uranuma/info.json
index 2dd2bd9e53..f7019e0c86 100644
--- a/keyboards/uranuma/info.json
+++ b/keyboards/uranuma/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x112D",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"],