Skip to content

Commit f416167

Browse files
authored
Merge pull request #36 from espressif/feature/proprietary_changes_uvc_class
feature(uvc): Applied proprietary changes in UVC Device class
2 parents b755233 + a36b9ac commit f416167

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/class/video/video_device.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,8 @@ static bool _negotiate_streaming_parameters(videod_streaming_interface_t const *
622622
tusb_desc_cs_video_fmt_t const *fmt = _find_desc_format(tu_desc_next(vs), end, fmtnum);
623623
tusb_desc_cs_video_frm_t const *frm = _find_desc_frame(tu_desc_next(fmt), end, frmnum);
624624

625-
uint_fast32_t interval, interval_ms;
625+
uint_fast32_t interval = 0;
626+
uint_fast32_t interval_ms = 0;
626627
switch (request) {
627628
case VIDEO_REQUEST_GET_MAX: {
628629
uint_fast32_t min_interval, max_interval;

0 commit comments

Comments
 (0)