diff options
| author | hathach <[email protected]> | 2024-05-20 18:30:38 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-20 18:30:38 +0700 |
| commit | 10b1e38404c044345e9ea0f3e5c678af94eb0f0a (patch) | |
| tree | 4a6559ec9156ceb995bebd5243b10f070edba332 /src | |
| parent | 3b144be37fc3e146e68f4182bf18a1b460afeba6 (diff) | |
revert unrelated changes to video_device.c
Diffstat (limited to 'src')
| -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 974289b69..4218835aa 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 = 0; + uint_fast32_t interval, interval_ms; switch (request) { case VIDEO_REQUEST_GET_MAX: { uint_fast32_t min_interval, max_interval; |
