summaryrefslogtreecommitdiff
path: root/src/class/video/video_device.c
diff options
context:
space:
mode:
authorkkitayam <[email protected]>2021-09-29 22:59:46 +0900
committerkkitayam <[email protected]>2021-09-29 22:59:46 +0900
commit4ca466b00b05d50ec338712f82a5b8b16ae7ce09 (patch)
treec2da7c348eaac47cef48a2ca46d99268ba1123f7 /src/class/video/video_device.c
parent9bcab53c2cb0b52baf8bc0c768887428ac87fbff (diff)
Update comments
Diffstat (limited to 'src/class/video/video_device.c')
-rw-r--r--src/class/video/video_device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c
index 28ac860e1..12ccbd165 100644
--- a/src/class/video/video_device.c
+++ b/src/class/video/video_device.c
@@ -554,6 +554,7 @@ static bool _open_vs_itf(uint8_t rhport, videod_streaming_interface_t *stm, uint
return true;
}
+/** Prepare the next packet payload. */
static uint_fast16_t _prepare_in_payload(videod_streaming_interface_t *stm)
{
uint_fast16_t remaining = stm->bufsize - stm->offset;
@@ -857,7 +858,6 @@ static int handle_video_stm_req(uint8_t rhport, uint8_t stage,
// APPLICATION API
//--------------------------------------------------------------------+
-/* ctl_idx instance number of video control interface */
bool tud_video_n_connected(uint_fast8_t ctl_idx)
{
TU_ASSERT(ctl_idx < CFG_TUD_VIDEO);
@@ -867,8 +867,6 @@ bool tud_video_n_connected(uint_fast8_t ctl_idx)
return false;
}
-/* ctl_idx instance number of video control interface
- * stm_idx index number of streaming interface as per video control */
bool tud_video_n_streaming(uint_fast8_t ctl_idx, uint_fast8_t stm_idx)
{
TU_ASSERT(ctl_idx < CFG_TUD_VIDEO);