micropython-lib/micropython/usb/usb-device
HLammers 942c80cbd0 Update core.py
⦁	Removed `import time` (not used)
⦁	Removed unused/duplicate `_Device.config` argument `config_str`
⦁	Fixed the loop reserving other string indexes used by built-in drivers `while len(strs) < builtin_driver.str_max:` to `while len(strs) < builtin\_driver.str\_max - 1:` (row 169)because str_max equals to one more than the highest string descriptor index value used by any built-in descriptor according to the [docs](https://docs.micropython.org/en/latest/library/machine.USBDevice.html) and added a comment that this loop is probably unnecessary or even wrong
⦁	Added `bAlternateSetting` as argument to `Descriptor.interface`, because it is used for USB MIDI 2.0
⦁	Some code optimisations
2025-07-05 11:49:36 +02:00
..
tests usb: Add USB device support packages. 2024-04-30 15:57:50 +10:00
usb/device Update core.py 2025-07-05 11:49:36 +02:00
manifest.py usb-device: Allow signaling capability of remote_wakeup. 2024-10-18 12:54:48 +11:00