summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-06-19 22:10:15 +0700
committerGitHub <[email protected]>2026-06-19 22:10:15 +0700
commit0afee06e98a56ab08f9bf01710d2dd0f329f705c (patch)
treea90941336fa3adf8c7e3495b7aab108031df2594
parent3c54098801b1f32cd699b7a64a6a5bf4724ba088 (diff)
parentab7888bc8f02226afbba662c7b7fcf265faa17a3 (diff)
Merge pull request #3718 from hathach/claude/video-iso-activate-assert
video: assert usbd_edpt_iso_activate() result in _open_vs_itf()
-rw-r--r--src/class/video/video_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c
index bbcfe45d5..e31ab4194 100644
--- a/src/class/video/video_device.c
+++ b/src/class/video/video_device.c
@@ -865,7 +865,7 @@ static bool _open_vs_itf(uint8_t rhport, videod_streaming_interface_t *stm, uint
/* FS must be less than or equal to max packet size */
TU_VERIFY (tu_edpt_packet_size(ep) >= max_size);
#ifdef TUP_DCD_EDPT_ISO_ALLOC
- usbd_edpt_iso_activate(rhport, ep);
+ TU_ASSERT(usbd_edpt_iso_activate(rhport, ep));
#else
TU_ASSERT(usbd_edpt_open(rhport, ep));
#endif