From 97d5d1e491565d6d546bcf27af1ff3525f3df722 Mon Sep 17 00:00:00 2001 From: kkitayam <45088311+kkitayam@users.noreply.github.com> Date: Sat, 17 Jul 2021 18:51:33 +0900 Subject: add files for video class device --- src/device/usbd.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/device') 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") -- cgit v1.3.1