mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
7d42b19a8d
NOTE: There's one change that might be incorrect, where I skip interfaces with zero endpoints. I did this because my device has two consecutive interface descriptors with the same interface number, one for altsetting 0 with no endpoints, and another for altsetting 1 with 1 endpoint. The loop was aborting due to finding two interface descriptors back-to-back.