When changing the public UsbDevice::speed, the max packet size of ep0_in/out are not updated, which then leads to the device failing to enumerate. (Invalid ep0 maxpacket: 64)
The correct value for USB 3.0+ is 9, where the actual max packet size is 2^bMaxPacketSize0
I hope its okay to just open issues for now, will also open an MR once I find time :)
When changing the public
UsbDevice::speed
, the max packet size of ep0_in/out are not updated, which then leads to the device failing to enumerate. (Invalid ep0 maxpacket: 64
)The correct value for USB 3.0+ is 9, where the actual max packet size is 2^bMaxPacketSize0
I hope its okay to just open issues for now, will also open an MR once I find time :)