add files for video class device

This commit is contained in:
kkitayam
2021-07-17 18:51:33 +09:00
parent 5b55b0d259
commit 97d5d1e491
6 changed files with 738 additions and 0 deletions

View File

@@ -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")