summaryrefslogtreecommitdiff
path: root/keyboards/yiancardesigns/barleycorn
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/barleycorn
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/yiancardesigns/barleycorn')
-rw-r--r--keyboards/yiancardesigns/barleycorn/config.h3
-rw-r--r--keyboards/yiancardesigns/barleycorn/info.json3
2 files changed, 2 insertions, 4 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",