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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 90 additions and 226 deletions

View file

@ -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

View file

@ -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"],

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TOGGLE 3
#define USB_MAX_POWER_CONSUMPTION 100
/* RGB underglow */
#define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING

View file

@ -6,7 +6,8 @@
"usb": {
"vid": "0x20A0",
"pid": "0x422D",
"device_version": "2.0.0"
"device_version": "2.0.0",
"max_power": 100
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],