cherry-embedded / CherryUSB

CherryUSB is a tiny, beautiful and portable USB host and device stack for embedded system with USB IP
https://cherryusb.cherry-embedded.org
Apache License 2.0
1.24k stars 264 forks source link

intf_num is not alway 0 or 1, especially in composite devices, maybe there's a more appropriate change? #212

Closed YaoxingWei1 closed 3 months ago

YaoxingWei1 commented 3 months ago

https://github.com/cherry-embedded/CherryUSB/blob/bf54bc2ff1c3833ca3c49d0720e712bfec679653/class/video/usbd_video.c#L667

sakumisu commented 3 months ago

video must be zero