summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorpschatzmann <[email protected]>2024-10-15 22:22:24 +0200
committerHiFiPhile <[email protected]>2024-10-15 23:09:05 +0200
commit1b17bc04f964301857abb80e9a9ed46f02803fc1 (patch)
tree8b6f64e305004d4bd84e4566ea50abad833d0cf8 /src/class
parent933ac29d77f54c68cbb41f09b74e78f868a2b4a7 (diff)
RP2040 New ISO API
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 70dbb5b9e..ec41e0991 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) {