summaryrefslogtreecommitdiff
path: root/keyboards/yiancardesigns
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/yiancardesigns
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/yiancardesigns')
-rw-r--r--keyboards/yiancardesigns/barleycorn/config.h3
-rw-r--r--keyboards/yiancardesigns/barleycorn/info.json3
-rw-r--r--keyboards/yiancardesigns/gingham/config.h2
-rw-r--r--keyboards/yiancardesigns/gingham/info.json3
-rw-r--r--keyboards/yiancardesigns/seigaiha/config.h2
-rw-r--r--keyboards/yiancardesigns/seigaiha/info.json3
6 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/yiancardesigns/barleycorn/config.h b/keyboards/yiancardesigns/barleycorn/config.h
index 5eed7521ff..5e90dd3515 100644
--- a/keyboards/yiancardesigns/barleycorn/config.h
+++ b/keyboards/yiancardesigns/barleycorn/config.h
@@ -41,9 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#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/yiancardesigns/barleycorn/info.json b/keyboards/yiancardesigns/barleycorn/info.json
index ad19574eae..99786319b3 100644
--- a/keyboards/yiancardesigns/barleycorn/info.json
+++ b/keyboards/yiancardesigns/barleycorn/info.json
@@ -5,7 +5,8 @@
"usb": {
"vid": "0x8968",
"pid": "0x4749",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "max_power": 100
},
"processor": "atmega328p",
"bootloader": "usbasploader",
diff --git a/keyboards/yiancardesigns/gingham/config.h b/keyboards/yiancardesigns/gingham/config.h
index cf19c1bb22..fe06114dd5 100644
--- a/keyboards/yiancardesigns/gingham/config.h
+++ b/keyboards/yiancardesigns/gingham/config.h
@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#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/yiancardesigns/gingham/info.json b/keyboards/yiancardesigns/gingham/info.json
index c09db75564..c0b1644fea 100644
--- a/keyboards/yiancardesigns/gingham/info.json
+++ b/keyboards/yiancardesigns/gingham/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x8968",
"pid": "0x4748",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "max_power": 100
},
"processor": "atmega328p",
"bootloader": "usbasploader",
diff --git a/keyboards/yiancardesigns/seigaiha/config.h b/keyboards/yiancardesigns/seigaiha/config.h
index de93e5ecb2..70ce1c29ab 100644
--- a/keyboards/yiancardesigns/seigaiha/config.h
+++ b/keyboards/yiancardesigns/seigaiha/config.h
@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-#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/yiancardesigns/seigaiha/info.json b/keyboards/yiancardesigns/seigaiha/info.json
index fca905283e..26ab6ab528 100644
--- a/keyboards/yiancardesigns/seigaiha/info.json
+++ b/keyboards/yiancardesigns/seigaiha/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x8968",
"pid": "0x4750",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "max_power": 100
},
"bootmagic": {
"matrix": [1, 0]