diff options
author | Ryan <fauxpark@gmail.com> | 2023-05-01 17:37:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 17:37:12 +1000 |
commit | 2944e938703e2049bb6262a0ab31e701d27e8ab3 (patch) | |
tree | a73caa75fafe8b7926e18886d603c032d246fcac /keyboards/ploopyco/trackball_nano | |
parent | 12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff) |
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/ploopyco/trackball_nano')
-rw-r--r-- | keyboards/ploopyco/trackball_nano/config.h | 2 | ||||
-rw-r--r-- | keyboards/ploopyco/trackball_nano/info.json | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/ploopyco/trackball_nano/config.h b/keyboards/ploopyco/trackball_nano/config.h index c8e74cc271..e2ebde3263 100644 --- a/keyboards/ploopyco/trackball_nano/config.h +++ b/keyboards/ploopyco/trackball_nano/config.h @@ -24,8 +24,6 @@ //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT -#define USB_MAX_POWER_CONSUMPTION 100 - #define ADNS5050_SCLK_PIN B7 #define ADNS5050_SDIO_PIN C6 #define ADNS5050_CS_PIN B4 diff --git a/keyboards/ploopyco/trackball_nano/info.json b/keyboards/ploopyco/trackball_nano/info.json index 522ff43d99..5295548573 100644 --- a/keyboards/ploopyco/trackball_nano/info.json +++ b/keyboards/ploopyco/trackball_nano/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x5043", "pid": "0x54A3", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "processor": "atmega32u4", "bootloader": "atmel-dfu", |