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

@@ -41,9 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -5,7 +5,8 @@
"usb": {
"vid": "0x8968",
"pid": "0x4749",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"processor": "atmega328p",
"bootloader": "usbasploader",

View File

@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x8968",
"pid": "0x4748",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"processor": "atmega328p",
"bootloader": "usbasploader",

View File

@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -6,7 +6,8 @@
"usb": {
"vid": "0x8968",
"pid": "0x4750",
"device_version": "0.0.1"
"device_version": "0.0.1",
"max_power": 100
},
"bootmagic": {
"matrix": [1, 0]