diff options
| author | hathach <[email protected]> | 2021-10-08 15:49:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-10-11 16:07:34 +0700 |
| commit | b3bfce2cb7213df3d875133de26321542e7ecf08 (patch) | |
| tree | d54847df73f686b2423542b8eba1a2ef0dfa7e5c /src/class/video | |
| parent | b6d09ca7619b2f624cc3ee92a795ba2a9b9d68e9 (diff) | |
update the descriptor endpoint ISO for nrf5x
Diffstat (limited to 'src/class/video')
| -rw-r--r-- | src/class/video/video_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index 12ccbd165..ce34b1b49 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -457,7 +457,7 @@ static bool _open_vc_itf(uint8_t rhport, videod_interface_t *self, uint_fast8_t void const *end = beg + self->len; /* The first descriptor is a video control interface descriptor. */ void const *cur = _find_desc_itf(beg, end, _desc_itfnum(beg), altnum); - TU_LOG2(" cur %ld\n", cur - beg); + TU_LOG2(" cur %d\n", cur - beg); TU_VERIFY(cur < end); tusb_desc_vc_itf_t const *vc = (tusb_desc_vc_itf_t const *)cur; |
