1
0
Fork 0

[Keyboard] Set USB max power consumption of kint* controllers to 100mA (#14546)

This commit is contained in:
Michael Stapelberg 2021-09-22 01:48:41 +02:00 committed by GitHub
parent 8670a3c86c
commit 2e670644fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View file

@ -44,3 +44,7 @@
// Reduce input latency by lowering the USB polling interval
// from its 10ms default to the 1ms minimum that USB 1.x (Full Speed) allows:
#define USB_POLLING_INTERVAL_MS 1
// The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as
// per https://www.pjrc.com/teensy/low_power.html
#define USB_MAX_POWER_CONSUMPTION 100