summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic
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/kprepublic
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/kprepublic')
-rw-r--r--keyboards/kprepublic/jj40/config.h2
-rw-r--r--keyboards/kprepublic/jj40/info.json3
-rw-r--r--keyboards/kprepublic/jj4x4/config.h2
-rw-r--r--keyboards/kprepublic/jj4x4/info.json3
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/kprepublic/jj40/config.h b/keyboards/kprepublic/jj40/config.h
index f26971a5a3..d77984fc69 100644
--- a/keyboards/kprepublic/jj40/config.h
+++ b/keyboards/kprepublic/jj40/config.h
@@ -27,5 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json
index c41c139606..e5dacd90da 100644
--- a/keyboards/kprepublic/jj40/info.json
+++ b/keyboards/kprepublic/jj40/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4B50",
"pid": "0x0040",
- "device_version": "2.0.0"
+ "device_version": "2.0.0",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["C4", "C5", "C6", "C7", "A4", "A5", "A6", "A7", "A3", "A2", "A1", "A0"],
diff --git a/keyboards/kprepublic/jj4x4/config.h b/keyboards/kprepublic/jj4x4/config.h
index c0220254b9..5646d4c653 100644
--- a/keyboards/kprepublic/jj4x4/config.h
+++ b/keyboards/kprepublic/jj4x4/config.h
@@ -30,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json
index 337b532f97..fce30c67b0 100644
--- a/keyboards/kprepublic/jj4x4/info.json
+++ b/keyboards/kprepublic/jj4x4/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4B50",
"pid": "0x0044",
- "device_version": "2.0.0"
+ "device_version": "2.0.0",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["A1", "A0", "A2", "A3"],