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/ymdk/np21 | |
parent | 12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff) |
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/ymdk/np21')
-rw-r--r-- | keyboards/ymdk/np21/config.h | 2 | ||||
-rw-r--r-- | keyboards/ymdk/np21/info.json | 3 |
2 files changed, 2 insertions, 3 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"], |