Move USB_MAX_POWER_CONSUMPTION to data driven (#20648)

This commit is contained in:
Ryan
2023-05-01 17:37:12 +10:00
committed by GitHub
parent 12d42cedd2
commit 2944e93870
99 changed files with 90 additions and 226 deletions

View File

@@ -49,5 +49,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER
#define USB_MAX_POWER_CONSUMPTION 500

View File

@@ -32,5 +32,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

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4443",
"pid": "0x4D43",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"encoder": {
"rotary": [

View File

@@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LED_BRIGHTNESS_LO 15
#define LED_BRIGHTNESS_HI 255
#define USB_MAX_POWER_CONSUMPTION 500
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 5

View File

@@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define USB_MAX_POWER_CONSUMPTION 100
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x0000",
"device_version": "0.0.2"
"device_version": "0.0.2",
"max_power": 100
},
"matrix_pins": {
"cols": ["B0", "D7", "D6", "D5", "B2", "B1", "C0", "C1", "C2", "C3", "D1"],

View File

@@ -19,6 +19,5 @@
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
#define USB_MAX_POWER_CONSUMPTION 400
#define TAPPING_TERM 200

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0xFEED",
"pid": "0x0007",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 400
},
"matrix_pins": {
"cols": ["B4", "B6", "B2", "D7", "B1", "F7", "F6", "F5", "F4"],