summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorkkitayam <[email protected]>2021-09-30 21:08:57 +0900
committerkkitayam <[email protected]>2021-09-30 21:08:57 +0900
commit9a7795464ea88a0d8c8001a42404f791d486af64 (patch)
treea2fc0207279884ee6b6918c69f98a2d867e830bc /examples
parent831443a2dce346cafab47a0a7f593e72fa33bfa4 (diff)
Add cast operations to unused parameters
Diffstat (limited to 'examples')
-rw-r--r--examples/device/video_capture/src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/device/video_capture/src/main.c b/examples/device/video_capture/src/main.c
index b24f01555..b76af071a 100644
--- a/examples/device/video_capture/src/main.c
+++ b/examples/device/video_capture/src/main.c
@@ -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,
video_probe_and_commit_control_t const *parameters)
{
+ (void)ctl_idx; (void)stm_idx;
/* convert unit to ms from 100 ns */
interval_ms = parameters->dwFrameInterval / 10000;
return VIDEO_NO_ERROR;