Move USB_MAX_POWER_CONSUMPTION to data driven due to upstream change

This commit is contained in:
Christoph Zimmermann 2023-05-01 22:07:29 +02:00
parent 0469c2cc92
commit 90edeac4b4
2 changed files with 2 additions and 3 deletions

View File

@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* The Model M as a membrane based keyboard without diodes has ghost keys */ /* The Model M as a membrane based keyboard without diodes has ghost keys */
#define MATRIX_HAS_GHOST #define MATRIX_HAS_GHOST
#define USB_MAX_POWER_CONSUMPTION 200
/* As we replace the caps lock key with the win key, enable by default the /* As we replace the caps lock key with the win key, enable by default the
* Caps Word feature by double tapping the shift key */ * Caps Word feature by double tapping the shift key */
#define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD #define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD

View File

@ -6,7 +6,8 @@
"usb": { "usb": {
"vid": "0x1D50", "vid": "0x1D50",
"pid": "0x6180", "pid": "0x6180",
"device_version": "1.0.0" "device_version": "1.0.0",
"max_power": 100
}, },
"debounce": 5, "debounce": 5,
"matrix_pins": { "matrix_pins": {