diff options
| author | YixingShen <[email protected]> | 2026-03-07 02:05:12 +0800 |
|---|---|---|
| committer | YixingShen <[email protected]> | 2026-03-07 02:05:12 +0800 |
| commit | e4a55152be9ae5fb8efebbb5ef197a2d3097b6cc (patch) | |
| tree | 19dedc5e070f54141fa4a9b36a768146d6a9fc88 | |
| parent | fe26e45e64dc0c356ddba3470343244c7544b3ac (diff) | |
cleanup
| -rw-r--r-- | src/class/video/video_device.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index 24f31c6ad..0f7d6b53b 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -772,9 +772,6 @@ static bool _open_vc_itf(uint8_t rhport, videod_interface_t *self, uint_fast8_t /* Update to point the end of the video control interface descriptor. */ end = _end_of_control_descriptor(cur) + 7; - //tusb_desc_video_control_header wTotalLength = - // tusb_desc_video_control_header + tusb_desc_video_control_camera_terminal_t + tusb_desc_video_control_output_terminal_t - // has no status Interrupt EP desc, then "end" should +7 for _find_desc searchig EP desc /* Advance to the next descriptor after the class-specific VC interface header descriptor. */ cur += vc->std.bLength + vc->ctl.bLength; |
