From b3bfce2cb7213df3d875133de26321542e7ecf08 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 8 Oct 2021 15:49:56 +0700 Subject: update the descriptor endpoint ISO for nrf5x --- src/class/video/video_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/class/video') 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; -- cgit v1.3.1