-
Notifications
You must be signed in to change notification settings - Fork 1.4k
_open_vc_itf parsing error when vc->std.bNumEndpoints != 0 #3532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -771,7 +771,7 @@ static bool _open_vc_itf(uint8_t rhport, videod_interface_t *self, uint_fast8_t | |
| TU_ASSERT(vc->ctl.bInCollection <= CFG_TUD_VIDEO_STREAMING); | ||
|
|
||
| /* Update to point the end of the video control interface descriptor. */ | ||
| end = _end_of_control_descriptor(cur); | ||
| end = _end_of_control_descriptor(cur) + 7; | ||
|
||
|
|
||
| /* Advance to the next descriptor after the class-specific VC interface header descriptor. */ | ||
| cur += vc->std.bLength + vc->ctl.bLength; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.