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/peej | |
parent | 12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff) |
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/peej')
-rw-r--r-- | keyboards/peej/lumberjack/config.h | 19 | ||||
-rw-r--r-- | keyboards/peej/lumberjack/info.json | 3 | ||||
-rw-r--r-- | keyboards/peej/rosaline/config.h | 2 | ||||
-rw-r--r-- | keyboards/peej/rosaline/ortho/info.json | 3 | ||||
-rw-r--r-- | keyboards/peej/rosaline/staggered/info.json | 3 |
5 files changed, 6 insertions, 24 deletions
diff --git a/keyboards/peej/lumberjack/config.h b/keyboards/peej/lumberjack/config.h deleted file mode 100644 index 0079764d8e..0000000000 --- a/keyboards/peej/lumberjack/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2020 Paul James - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/peej/lumberjack/info.json b/keyboards/peej/lumberjack/info.json index c65c4bea47..83b4a6e6c2 100644 --- a/keyboards/peej/lumberjack/info.json +++ b/keyboards/peej/lumberjack/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x706A", "pid": "0x0002", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "matrix_pins": { "cols": ["B0", "D7", "D6", "D5", "D4", "D1", "D0", "C1", "C2", "C3"], diff --git a/keyboards/peej/rosaline/config.h b/keyboards/peej/rosaline/config.h index 18505def82..d36ddb96e9 100644 --- a/keyboards/peej/rosaline/config.h +++ b/keyboards/peej/rosaline/config.h @@ -16,7 +16,5 @@ #pragma once -#define USB_MAX_POWER_CONSUMPTION 100 - #define LED1 C5 #define LED2 C4 diff --git a/keyboards/peej/rosaline/ortho/info.json b/keyboards/peej/rosaline/ortho/info.json index c175aafb42..9fb9d3cb40 100644 --- a/keyboards/peej/rosaline/ortho/info.json +++ b/keyboards/peej/rosaline/ortho/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x706A", "pid": "0x0003", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "matrix_pins": { "cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"], diff --git a/keyboards/peej/rosaline/staggered/info.json b/keyboards/peej/rosaline/staggered/info.json index 0608f2a9f7..99796675e1 100644 --- a/keyboards/peej/rosaline/staggered/info.json +++ b/keyboards/peej/rosaline/staggered/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x706A", "pid": "0x0003", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "matrix_pins": { "cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"], |