mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Merge pull request #2720 from YixingShen/master
fixed video_device.c _find_desc_format
This commit is contained in:
commit
65242fd11f
@ -398,7 +398,7 @@ static inline void const *_find_desc_format(void const *beg, void const *end, ui
|
||||
if ((fmt == VIDEO_CS_ITF_VS_FORMAT_UNCOMPRESSED ||
|
||||
fmt == VIDEO_CS_ITF_VS_FORMAT_MJPEG ||
|
||||
fmt == VIDEO_CS_ITF_VS_FORMAT_DV ||
|
||||
fmt == VIDEO_CS_ITF_VS_FRAME_FRAME_BASED) &&
|
||||
fmt == VIDEO_CS_ITF_VS_FORMAT_FRAME_BASED) &&
|
||||
fmtnum == p[3]) {
|
||||
return cur;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user