Closed KurtE closed 1 year ago
Memory usage change @ a2d6ead1660d5386a1cad9ee0800f3f91f7db8c2
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:mbed_giga:giga |
:green_heart: -64 - 0 | -0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_opta:opta |
0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:mbed_portenta:envie_m7 |
N/A | N/A | N/A | N/A |
resolves #40
0 length items in the configuration descriptor.
As I mentioned in the issue: There as some devices who have 0 length fields within their configuration descriptor Example GIGABYTE keyboard.
The issue came up before on another USBHost library (USBHost_t36). The solution is when you find a zero length field, you simply increment to the next byte.
It works on my WIP branch, however here hard to test as the current released code fails to read in the full descriptors. But that is a different issue and PR.