summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-01-20 15:29:23 +0700
committerhathach <[email protected]>2023-01-20 15:29:23 +0700
commit3fd075b48bfe80ef7d7f61c1f6229c3aa413383e (patch)
treefcb987d96cb39565c90d05fe054a4d01550458ba /examples/device
parent84be70baf5eaada4317c0483c33580bcde4116de (diff)
fix warning
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/video_capture/src/usb_descriptors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/device/video_capture/src/usb_descriptors.c b/examples/device/video_capture/src/usb_descriptors.c
index 499ee311c..0cf772010 100644
--- a/examples/device/video_capture/src/usb_descriptors.c
+++ b/examples/device/video_capture/src/usb_descriptors.c
@@ -99,6 +99,7 @@ uint8_t const desc_fs_configuration[] =
{
// Config number, interface count, string index, total length, attribute, power in mA
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0, 500),
+
// IAD for Video Control
#if defined(CFG_EXAMPLE_VIDEO_READONLY) && !defined(CFG_EXAMPLE_VIDEO_DISABLE_MJPEG)
TUD_VIDEO_CAPTURE_DESCRIPTOR_MJPEG(4, EPNUM_VIDEO_IN,