diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/video_capture/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/video_capture/src/main.c b/examples/device/video_capture/src/main.c index ce4272639..4ca0e5d90 100644 --- a/examples/device/video_capture/src/main.c +++ b/examples/device/video_capture/src/main.c @@ -141,10 +141,10 @@ void video_task(void) } } -int tud_video_frame_xfer_complete_cb(void) +int tud_video_frame_xfer_complete_cb(unsigned itf) { /* prepare tx */ - tud_video_n_frame_xfer(0, 0, (void*)frames[current_frame], 128 * 96 * 12/8); + tud_video_n_frame_xfer(itf, 0, (void*)frames[current_frame], 128 * 96 * 12/8); ++current_frame; if (current_frame == sizeof(frames)/sizeof(frames[0])) current_frame = 0; |
