Add cast operations to unused parameters
This commit is contained in:
parent
831443a2dc
commit
9a7795464e
|
@ -151,6 +151,7 @@ void tud_video_frame_xfer_complete_cb(uint_fast8_t ctl_idx, uint_fast8_t stm_idx
|
||||||
int tud_video_commit_cb(uint_fast8_t ctl_idx, uint_fast8_t stm_idx,
|
int tud_video_commit_cb(uint_fast8_t ctl_idx, uint_fast8_t stm_idx,
|
||||||
video_probe_and_commit_control_t const *parameters)
|
video_probe_and_commit_control_t const *parameters)
|
||||||
{
|
{
|
||||||
|
(void)ctl_idx; (void)stm_idx;
|
||||||
/* convert unit to ms from 100 ns */
|
/* convert unit to ms from 100 ns */
|
||||||
interval_ms = parameters->dwFrameInterval / 10000;
|
interval_ms = parameters->dwFrameInterval / 10000;
|
||||||
return VIDEO_NO_ERROR;
|
return VIDEO_NO_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue