Add support for Teensy bootloader

This commit is contained in:
Marius Greuel
2021-01-26 22:21:52 +01:00
parent 8dce9107df
commit cb6208939b
12 changed files with 16971 additions and 8 deletions

View File

@@ -140,7 +140,6 @@ int usb_os_find_devices(struct usb_bus* bus, struct usb_device** devices)
if (FAILED(item->Open(driver)) ||
FAILED(driver->GetDescriptor(USB_DT_DEVICE, 0, 0, &dev->descriptor, sizeof(dev->descriptor), nullptr, 5000)))
{
USBERR0("couldn't read device descriptor\n");
free(dev);
continue;
}