diff options
| author | Matthew Tran <[email protected]> | 2023-11-19 18:26:40 -0800 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-15 20:01:00 +0700 |
| commit | db60fa1c63ae58c205e43e144253dab6815bb2d1 (patch) | |
| tree | f15653fde2d8eb2e2c43eee8eec0bc687a068720 /src/class | |
| parent | cf532d14792411fd40ad3433fe0ce9959887ef4b (diff) | |
add CH32V20x USB OTG/FS driver
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/video/video_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index 4218835aa..974289b69 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -609,7 +609,7 @@ static bool _negotiate_streaming_parameters(videod_streaming_interface_t const * tusb_desc_cs_video_fmt_t const *fmt = _find_desc_format(tu_desc_next(vs), end, fmtnum); tusb_desc_cs_video_frm_t const *frm = _find_desc_frame(tu_desc_next(fmt), end, frmnum); - uint_fast32_t interval, interval_ms; + uint_fast32_t interval, interval_ms = 0; switch (request) { case VIDEO_REQUEST_GET_MAX: { uint_fast32_t min_interval, max_interval; |
