summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-28 16:13:20 +0700
committerGitHub <[email protected]>2024-11-28 16:13:20 +0700
commitc6dccffa2d81f692ca3f9729978ee37f7ed6281d (patch)
treece6529d15bdf12ca596641210e1827a3d8f53408 /src/class
parent31429271141e5af70bbcbe28804442d4f2ffb9ba (diff)
parent7f61a5a43b4637afc323f6e63cc59330f1b1e5a6 (diff)
Merge pull request #2847 from pschatzmann/rp2040-iso
Rp2040 - ISO API to make Audio work / Merge to master
Diffstat (limited to 'src/class')
-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 a7451c577..86513ddf0 100644
--- a/src/class/video/video_device.c
+++ b/src/class/video/video_device.c
@@ -1307,7 +1307,7 @@ uint16_t videod_open(uint8_t rhport, tusb_desc_interface_t const * itf_desc, uin
#ifdef TUP_DCD_EDPT_ISO_ALLOC
/* Allocate ISO endpoints */
uint16_t ep_size = 0;
- uint16_t ep_addr = 0;
+ uint8_t ep_addr = 0;
uint8_t const *p_desc = (uint8_t const*)itf_desc + stm->desc.beg;
uint8_t const *p_desc_end = (uint8_t const*)itf_desc + stm->desc.end;
while (p_desc < p_desc_end) {