summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorkkitayam <[email protected]>2021-07-17 18:51:33 +0900
committerkkitayam <[email protected]>2021-09-29 21:23:14 +0900
commit97d5d1e491565d6d546bcf27af1ff3525f3df722 (patch)
tree2b4f8088e572dea24c7f9c7ea32986ba42e6c624 /src/device
parent5b55b0d2594d86dc17c806d51aa7f28679947990 (diff)
add files for video class device
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index cf3ecea42..87f0e05ca 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -143,6 +143,18 @@ static usbd_class_driver_t const _usbd_driver[] =
},
#endif
+ #if CFG_TUD_VIDEO
+ {
+ DRIVER_NAME("VIDEO")
+ .init = videod_init,
+ .reset = videod_reset,
+ .open = videod_open,
+ .control_xfer_cb = videod_control_xfer_cb,
+ .xfer_cb = videod_xfer_cb,
+ .sof = NULL
+ },
+ #endif
+
#if CFG_TUD_MIDI
{
DRIVER_NAME("MIDI")