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/uranuma/config.h | 4 ---- keyboards/uranuma/info.json | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'keyboards/uranuma') 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"], -- cgit v1.2.3