summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk')
-rw-r--r--keyboards/ymdk/np21/config.h2
-rw-r--r--keyboards/ymdk/np21/info.json3
-rw-r--r--keyboards/ymdk/ymd96/config.h2
-rw-r--r--keyboards/ymdk/ymd96/info.json3
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h
index 81bfa2e81a..e97ca9ea63 100644
--- a/keyboards/ymdk/np21/config.h
+++ b/keyboards/ymdk/np21/config.h
@@ -54,5 +54,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
-
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/info.json
index 1c4651c94c..62fdf7e20c 100644
--- a/keyboards/ymdk/np21/info.json
+++ b/keyboards/ymdk/np21/info.json
@@ -5,7 +5,8 @@
"usb": {
"vid": "0x594D",
"pid": "0x5021",
- "device_version": "2.0.0"
+ "device_version": "2.0.0",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5"],
diff --git a/keyboards/ymdk/ymd96/config.h b/keyboards/ymdk/ymd96/config.h
index 3b6ffded66..ecb03b5917 100644
--- a/keyboards/ymdk/ymd96/config.h
+++ b/keyboards/ymdk/ymd96/config.h
@@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TOGGLE 3
-#define USB_MAX_POWER_CONSUMPTION 100
-
/* RGB underglow */
#define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/ymdk/ymd96/info.json b/keyboards/ymdk/ymd96/info.json
index d24d4fa4cd..96f83d3412 100644
--- a/keyboards/ymdk/ymd96/info.json
+++ b/keyboards/ymdk/ymd96/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x20A0",
"pid": "0x422D",
- "device_version": "2.0.0"
+ "device_version": "2.0.0",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],